JavaScript DOM Tutorial #3 - Get Elements By Class or Tag

Опубликовано: 30 September 2024
на канале: Net Ninja
130,945
1.9k

Hey gang, in this JavaScript DOM tutorial, I'll show youhow we can query the DOM for elements with a certain class name, or tag name. The methods we'll use are:

- getElementsByTagName()
- getElementsByClassName()

----- COURSE LINKS:
+ Atom editor - https://atom.io/a
+ GitHub Repo - https://github.com/iamshaunjp/JavaScr...

---------------------------------------------------------------------------------------------
Other tutorials:

----- JAVASCRIPT FOR BEGINNERS:
   • JavaScript Tutorials for Beginners  

----- CSS FOR BEGINNERS:
   • CSS Tutorials For Beginners  

----- NODE.JS TUTORIALS
   • Node JS Tutorial for Beginners  

----- SUBSCRIBE TO CHANNEL -    / @netninja  

============== The Net Ninja =====================

For more front-end development tutorials & to black-belt your coding skills, head over to -    / @netninja   or http://thenetninja.co.uk

================== Social Links ==================

Twitter - @TheNetNinja -   / thenetninjauk