Learn JavaScript DOM Traversal In 15 Minutes
Web Dev Simplified
šØ IMPORTANT:
JavaScript Simplified Course: https://javascriptsimplified.com
Traversing the DOM in JavaScript is crucial to building projects on your own. In this video I break down all the ways you can traverse the DOM in JavaScript so that you can more easily build projects on your own.
š Materials/References:
CSS Selector Video: https://youtu.be/l1mER1bV0N0
š§ Concepts Covered:
- How to traverse up the DOM
- How to navigate down the DOM
- All the methods for DOM traversal
š Find Me Here:
My Blog: https://blog.webdevsimplified.com My Courses: https://courses.webdevsimplified.com Patreon: https://www.patreon.com/WebDevSimplified Twitter: https://twitter.com/DevSimplified Discord: https://discord.gg/7StTjnR GitHub: https://github.com/WebDevSimplified CodePen: https://codepen.io/WebDevSimplified
ā±ļø Timestamps:
00:00 - Introduction 01:34 - getElementById 03:04 - getElementsByClassName 04:16 - QuerySelector 06:48 - querySelectorAll 07:50 - Selecting Children 09:19 - Selecting Descendants 10:39 - Selecting Parents 12:00 - Selecting Ancestors 13:15 - nextElementSibling 13:51 - previousElementSibling
#DOMTraversal #WDS #JavaScript ... https://www.youtube.com/watch?v=v7rSSy8CaYE
48338480 Bytes