JavaScript DOM Tutorial - Document Object Model in JavaScript
Offered By: Dave Gray via YouTube
Course Description
Overview
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
Related Courses
Probabilistic Graphical Models 1: RepresentationStanford University via Coursera Computer Security
Stanford University via Coursera Intro to Computer Science
University of Virginia via Udacity Introduction to Logic
Stanford University via Coursera Internet History, Technology, and Security
University of Michigan via Coursera