Preview:
let applyNowButton = document.querySelector("button");

//eventlistener - how to make button react to being clicked

applyNowButton.addEventListener("click");
variable.addEventListener("submit");


//updating or replacing html
function updateHeading(newHeading) {
        let h1 = document.querySelector("h1");
        h1.innerHTML = newHeading;
      }
downloadDownload PNG downloadDownload JPEG downloadDownload SVG

Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!

Click to optimize width for Twitter