js-and-dom-assignment

I have attached the Google Docs link for the assignment below:

https://docs.google.com/document/d/196Vv4UTBWZI-wMk97NQSB5MtceGq0KoQS2mBwFVgods/edit?usp=sharing

  1. What are nodes in the DOM?

    In DOM, all elements, attributes, text and other page components are arranged in a hierarchical tree-like structure with parents, children and siblings. These sections of the document are referred to as nodes. The topmost node is the root node with child <html> and it has other elements and so on.

DOM Node Tree