Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

JavaScript DOM Tutorial - Document Object Model in JavaScript

Dave Gray via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Dive into the Document Object Model (DOM) in JavaScript with this comprehensive tutorial video. Learn essential DOM manipulation techniques including selecting elements using various methods, modifying CSS properties, working with HTML Collections and NodeLists, navigating the DOM tree, and creating, modifying, and removing elements. Explore practical examples and gain a solid understanding of DOM selectors, event handling, and dynamic content creation. Master the skills needed to interact with web page elements effectively and create dynamic, interactive web applications using JavaScript and the DOM.

Syllabus

The Document Object Model: DOM
Selecting an element with an ID
Selecting an element with a query selector
Changing the CSS with the style property
Selecting elements by class name
Selecting elements with querySelectorAll
HTMLCollection vs NodeList
Searching within the results of a previous selector
Selecting elements by tag name
Applying more specific DOM selectors
Modifying CSS with a DOM selector
Changing text inside of an element
Changing the HTML within a parent element
Navigating the DOM tree
Removing all the nodes in a parent element
Creating new elements
Adding new property values to the element
Appending the new element to the DOM
Creating new elements with a loop

Taught by

Dave Gray

Reviews

Start your review of JavaScript DOM Tutorial - Document Object Model in JavaScript

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.