JavaScript and DOM
getElementsById
getElementsByTagName
querySelector
lets us use "CSS selector" syntax and grab the "first" occurence.querySelectorAll
lets us use "CSS selector" syntax and grab the "first" occurence.getAttribute
andsetAttribute
classList
andadd
,remove
,toggle
- Various DOM methods to create nodes and add to the node tree (not today!)