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

Publié le: 15 octobre 2023
sur la chaîne: 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


Sur cette page du site, vous pouvez voir la vidéo en ligne Get elements using CSS selectors - Basic JavaScript Fast (48) | querySelector, querySelectorAll durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Begin Coding Fast 15 octobre 2023, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 106 fois et il a aimé 1 téléspectateurs. Bon visionnage!