Рет қаралды 221,041
🚨 IMPORTANT:
JavaScript Simplified Course: 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: • Learn Every CSS Select...
🧠 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: blog.webdevsimplified.com
My Courses: courses.webdevsimplified.com
Patreon: / webdevsimplified
Twitter: / devsimplified
Discord: / discord
GitHub: github.com/WebDevSimplified
CodePen: 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