JavaScript DOM Manipulation
DOM - Document Object Model
Document Object Model is a tree-like representation of the contents of a webpage - a tree of “nodes” with different relationships depending on how they’re arranged in the HTML document.

#container
is parent of.box1
and.box2
.box1
and.box2
is child of#container
.box1
and.box2
are sibling
DOM Methods
DOM Methods - DOM methods are actions that can perform on HTML elements
Finding the HTML Elements
- find element with id
- find element with class
- find element with tag name
- find element with id, class or tag name
- find all element with id, class or tag name
Changing HTML elements
- change html
- change element text
- add attribute