1. Find and change
Try firstWhat does querySelector give you if nothing matches?
Check your answer
null, which has no textContent: that is why the next line fails.
document.querySelector("#title")finds the element with id title (.for a class).title.textContent = "…"replaces its words;title.style.color = "…"changes its colour.- A script runs when the browser reaches it, so it goes below the elements it uses.






