Get elements using CSS selectors - Basic JavaScript Fast (48) | querySelector, querySelectorAll
Автор: Begin Coding Fast
Загружено: 2023-10-15
Просмотров: 87
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
Доступные форматы для скачивания:
Скачать видео mp4
-
Информация по загрузке: