JavaScript Course: Events And The DOM Section
Welcome to our comprehensive JavaScript course! This is our Events And The DOM section, covering everything from what the DOM is, selecting, modifying, and creating elements, looping, through to handling events in the DOM. this section also includes some mini challenges to test your skills!
Course Modules & Lessons
5. Events And The DOM
- What Is The DOM?
- Selecting Elements
- Changing Values & Attributes
- Changing An Elements CSS
- Creating New Elements
- Adding Elements To The Page
- Cloning & Removing Elements
- Mini Challenge: Create a New Section With Javascript
- Looping With DOM Elements
- What are events?
- Listening For Events
- Listening For Multiple Events & Event Data
- Event Propagation
- Running Events Once
- Prevent Default Behaviour & The Passive Option
- Removing Event Listeners
- HTMLCollection Or NodeList?
- Mini Challenge: Build a Dark Mode Button