by kirupa | 22 June 2014
At this point, you kinda sorta know what the DOM is. You also saw how to find elements using querySelector and querySelectorAll. What's next is for us to learn how to modify the DOM elements you found. After all, what's the fun in having a giant lump of clay (or cookie dough) if you can't put your hands on it and make a giant mess?
This is a companion discussion topic for the original entry at http://www.kirupa.com/html5/modifying_dom_elements.htm