#24 getElementByClassName method in JavaScript

Опубликовано: 03 November 2024
на канале: Telusko
118,463
1.6k

In this video tutorial we will learn how to take iuse the getElementsByClassName() method in JavaScript.
The getElementsByClassName() method returns a collection of all elements in the document with the specified class name, as a NodeList object.
The NodeList object represents a collection of nodes. The nodes can be accessed by index numbers. The index starts at 0.

Video by - Tanmay Sakpal
Simple Snippets Channel link -    / simplesnippets