✏️ We'll explore ways to navigate the DOM tree from element to element: the parentElement, previousElementSibling and nextElementSibling, firstElementChild and lastElementChild, and children properties. We'll also explore the defer and async attributes for the script tag. We'll also learn what an HTML collection (HTMLCollection) is.
🔴 Timeline:
▶ 00:00 | Introduction
▶ 00:25 | The document object
▶ 01:07 | The script tag, the defer attribute
▶ 02:55 | The script tag, the async attribute
▶ 04:27 | The parentElement property — getting the parent element of a DOM element
▶ 04:46 | The previousElementSibling and nextElementSibling properties — getting siblings of a DOM element
▶ 05:30 | The children property — getting the child elements of a DOM element
▶ 06:28 | HTML Collection (HTMLCollection)
▶ 08:40 | The firstElementChild and lastElementChild properties — getting the first and last child elements of a DOM element
▶ 09:18 | Navigating DOM Elements and Text Nodes
▶ 12:03 | Conclusion
📚 Video links:
➖ JavaScript documentation from MDN: https://developer.mozilla.org/ru/docs...
➖ Russian-language JavaScript reference Doka: https://doka.guide/js/
➖ Fundamental online JavaScript tutorial: https://learn.javascript.ru/
💬 Telegram community chat (help for beginners):
https://t.me/FriendlyFrontend
🧑💻 Main Telegram channel:
https://t.me/AleksanderLamkov
❤️ Boosty (support the author):
https://boosty.to/friendly-frontend
🗂️ Free courses on the channel:
🟠 HTML: • HTML курс 2025
🔵 CSS: • CSS курс 2025
🟡 JS: • JavaScript курс 2025
🟢 A11y: • Accessibility курс 2025
🗺 Frontend Roadmap: • Frontend Roadmap 2024 | Что должен учить ф...
⚪️ Layout Masterclass for Beginners: • Адаптивная верстка сайта с нуля для начина...
🔘 Advanced Layout Workshop (BEM, SCSS): • Вёрстка сайта с 0 до результата | HTML, БЭ...
⚫️ Layout Workshop with JavaScript Practice: • Вёрстка сайта с нуля • HTML, SCSS, JS прак...
🔴 Layout Workshop on JSX, SCSS, JS, Vite, Minista (SSG), and BEM: https://stepik.org/a/228315
📌 Author:
➖ Personal Website: https://aleksanderlamkov.ru/
➖ Telegram: https://t.me/AleksanderLamkov
➖ Boosty: https://boosty.to/friendly-frontend
➖ GetMentor: https://getmentor.dev/mentor/aleksand...
➖ Stepik (paid courses and workshops): https://stepik.org/a/228315
#frontend #frontend #js #javascript