Book Image

DOM 2023 - Using the DOM and JavaScript to Build Dynamic Websites [Video]

By : SkillZone .
Book Image

DOM 2023 - Using the DOM and JavaScript to Build Dynamic Websites [Video]

By: SkillZone .

Overview of this book

In the first half of the course, we will cover everything you need to start coding dynamic sites by yourself. It gives you the sound fundamentals and essential practical regarding the DOM. You will emerge from part 1 with a basic understanding and practical experience. It will take you to the point where you will understand what the DOM is, why we need it, how to access it, where to find it, and how to manipulate it. By the end of part 1, you will have learned about front-end web development by mastering the Document Object Model. The second half of the course provides a whole different world of fun with amazing practical examples that will captivate you and catapult you to the next level and set you well on your way to becoming a true Grandmaster in front-end web development. By the end of part 2, you will have learned more about front-end web development by working with events in the Document Object Model. By the end of this course, you will be able to “speak” and “walk” DOM by gaining an understanding of how you can manipulate it in meaningful and practical ways. All the resources for this course are available at https://github.com/PacktPublishing/DOM-2022---Using-the-DOM-and-JavaScript-to-Build-Dynamic-Websites
Table of Contents (15 chapters)
7
Part 1 - Where to Next?
15
Part 2 - Outro
Chapter 11
Part 2 - Object and Node Hierarchy
Content Locked
Section 7
Quick Recap on Object Hierarchy
We have seen that the full set of properties and methods of a given node comes from a concept known as inheritance. And interestingly, the root object for element nodes is the EventTarget node, which gives support for events like the addEventListener() method and others. Just remember that each different object type (element, text, comment) may follow its own different hierarchy.