Back to Browse

Selecting DOM Elements with Pure JavaScript: querySelector and querySelectorAll

14.8K views
Mar 1, 2017
13:53

querySelector and querySelectorAll are two JavaScript methods that allow the selecting of DOM elements using CSS selectors; similar to what you do in jQuery. In this video we will cover both methods and compare than to more traditional methods: getElementByID, getElementsByClassName and getElementsByTagName. For a complete list of all our tutorials: http://www.allthingsjavascript.com/youtube.html Courses offered on Udemy at a discount (access from my site): http://allthingsjavascript.com/courses.html

Download

1 formats

Video Formats

360pmp419.5 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

Selecting DOM Elements with Pure JavaScript: querySelector and querySelectorAll | NatokHD