DOM TREE

This is a presentation of walking the DOM and explaining how each node can be targeted.

Click on an item in the menu for an explanation.
In the examples I used innerHTML to print to the page for this demonstration. This is not the best way to print to the DOM.
Also I know there is another way to add a click handler to each button in the menu, I just could not figure it out.

If you want to follow along at home, example syntax uses Sample DOM Page

The Dom