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 6
Part 1 - Creating, Removing, and Cloning DOM Elements
Content Locked
Section 13
removeChild()
The removeChild() method in the DOM is used to remove a specified child node of the given element. In order for you to use this method, you have to call the method on the parent of the element you are wanting to remove. And lastly, this method returns the removed node as a node object or null if the node doesn’t exist.