Get elements using CSS selectors - Basic JavaScript Fast (48) | querySelector, querySelectorAll

Publicado el: 15 octubre 2023
en el canal de: Begin Coding Fast
106
1

The video discusses the ways to obtain a DOM node using CSS selectors. The querySelector method obtains the first DOM node that satisfies a given CSS selector. The querySelectorAll method finds all the elements that satisfy a given CSS selector. The closest method finds the closest ancestor of an element with a given CSS selector. The matches method is a Boolean function that determines whether an element with a given CSS selector is present. The contains method is a Boolean function that determines whether a DOM node is contained in another DOM node.

1:50 - querySelector
7:32 - querySelectorAll
17:18 - closest method
21:01 - matches method
23:40 - contains method

Playlist of my JavaScript course
   • [20 hours] JavaScript full course for begi...  

Playlist of my HTML5 and CSS3 tutorials
   • [12 hours] HTML and CSS full course for be...  

Playlist of my algorithm walkthrough
   • Algorithms and data structures | DSA cours...  

Playlist of my Java course
   • [14 hours] Java full course for beginners ...  

Playlist of my Java examples
   • Java projects for beginners | Java project...  

#javascripttutorial #javascriptfullcourse #begincodingfast #javascript #queryselector #queryselectorall


En esta página del sitio puede ver el video en línea Get elements using CSS selectors - Basic JavaScript Fast (48) | querySelector, querySelectorAll de Duración hora minuto segunda en buena calidad , que subió el usuario Begin Coding Fast 15 octubre 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 106 veces y le gustó 1 a los espectadores. Disfruta viendo!