✏️ We'll explore working with DOM element properties and attributes: we'll learn how to read and modify DOM element properties, get and set HTML attributes, and check for their presence using the getAttribute, setAttribute, and hasAttribute methods. We'll discuss the unusual behavior of the value attribute in input fields. We'll touch on the attributes property of DOM elements. We'll learn how to manage data attributes. We'll learn how to assign an object as the value of an element attribute.
🔴 Timeline:
▶ 00:00 | Introduction
▶ 00:21 | DOM Element Properties
▶ 01:59 | Reading and Modifying DOM Element Properties
▶ 03:18 | HTML Attributes
▶ 03:47 | Getting an Attribute Value — the getAttribute Method
▶ 04:06 | Setting an Attribute Value — the setAttribute Method
▶ 05:31 | Removing an Attribute — the removeAttribute Method
▶ 06:09 | Checking for an Attribute's Existence — the hasAttribute Method
▶ 06:42 | Synchronizing Property and Attribute Values
▶ 07:16 | Unusual Behavior of the Value Attribute
▶ 09:45 | Listing All Attributes — the Attributes Property
▶ 10:05 | Reading and Writing Data Attributes — the Dataset Property
▶ 11:16 | An Object as an Element Attribute Value
▶ 13:16 | 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