Yo ninjas, so in this javascript lesson I want to build on the last tutorial by introducing the getAttribute and setAttribute methods for changing the attributes on your HTML elements.
getAttribute allows us to read the value of any given attribute, and setAttribute allows us to set the attribute value to whatever we want.
If you have any questions, fire away :)
DOM OBJECT METHODS AND PROPERTIES - [ Ссылка ]
SUBSCRIBE TO CHANNEL - [ Ссылка ]
========== JavaScript for Beginners Playlist ==========
[ Ссылка ]
========== CSS for Beginners Playlist ==========
[ Ссылка ]
========== HTML for Beginners Playlist ==========
[ Ссылка ]
========== The Net Ninja ============
For more front-end development tutorials & to black-belt your coding skills, head over to - [ Ссылка ] or [ Ссылка ]
========== Social Links ==========
Twitter - @TheNetNinja - [ Ссылка ]
Ещё видео!