this repo is only for personal hand note porpouse!
DOM stands for Document Object Model. It is a programming interface that allows us to create, change, or remove elements from the document. We can also add events to these elements to make our page more dynamic.
The DOM views an HTML document as a tree of nodes. A node represents an HTML element.
Let's take a look at this HTML code to better understand the DOM tree structure.
getElimentByID() for get an specific element;
getElimentsByClassName() for get all the element with the given class name