You will use the javascript file to continually change the size of the header, but first we need to learn how to use JavaScript to actually grab the HTML objects from the DOM.
Here are some important document attributes:
Then we also have methods we can use to grab HTML elements:
The first three of these are pretty self explanatory. The querySelector() can accept CSS style selector, so you can use # or . if you want ids or classes. Basically a more generalized method where you can type any CSS style. The difference between querySelector() and querySelectorAll() is that querySelectorAll() will return a list of all matches, querySelector() just returns the first match.