Code Blog
My favorite piece of code we learned this class was the get element by id, it is incredibly useful and has so many different applications,
it allows you to grab an HTML element and then use javascript, the code is as follows:
const idName = document.getElementById("idName");
Another really useful piece of code is the inner HTML command, once you have gotten a handle on an element, you can use the inner HTML
command to change what is actually inside of the element, I think it is quite cool and useful,
the code is as follows:
idName.innerHTML = whatever you want your HTML to be