Working with attributes in JavaScript. Attributes in socket and amazon. Custom attributes

Опубликовано: 12 Май 2026
на канале: WebDev с нуля. Канал Алекса Лущенко
3,954
141

iTGid.info - Alex Lushchenko courses
🪬 JavaScript 24 Course: https://itgid.info/ru/course/js24

🫶 Thank the author - monobank: 5375414126666006 Lushchenko O
🍹 Donate - https://www.buymeacoffee.com/itgid

✈️ Ask a question via telegram: https://telegram.me/itgid_admin

Author's courses:
ReactJS: https://itgid.info/ru/course/reactjs
Array methods: https://itgid.info/ru/course/arraymethod

Channel ru:    / itgid  
Channel UA:    / @itgidua-web7836  

00:00 Video overview
02:00 Getting an attribute via getAttribute
10:00 Global attributes and accessing them
14:00 Changing global attributes
14:50 Changing attributes via setAttribute
18:40 Changing checkbox attributes
20:50 Changing href hyperlink attributes
23:30 Removing attributes
25:20 How attributes are used in the Rozetka store
28:10 Attributes in the Amazon store
30:15 Custom data attributes
34:00 Getting data attributes via dataset

Learning how to work with attributes in JavaScript. Getting, changing, and deleting element attributes on an HTML page using JS. Direct work (getting and deleting) global attributes. We consider an example of using attributes to store information in a store such as Rozetka and Amazon. Create custom attributes and work with them. Getting data attributes via dataset.