Completed
Insure the DOM is available to interact with
Class Central Classrooms beta
YouTube videos curated by Class Central.
Classroom Contents
Event Listeners in JavaScript - JavaScript Events Tutorial
Automatically move to the next video in the Classroom when playback concludes
- 1 Insure the DOM is available to interact with
- 2 How to load your script for DOM interaction
- 3 3:30 Syntax: addEventListenerevent, function, useCapture
- 4 Using a function name in the event listener
- 5 5:55 Removing a function with a name: removeEventListener
- 6 Using an anonymous function in the event listener
- 7 Listening for the readystatechange event
- 8 Constructing an initApp function
- 9 Event Bubbling
- 10 Event Capturing
- 11 Event Propagation and stopPropagation
- 12 event.target usage
- 13 classList, add, remove, and toggle
- 14 Listening for a HTML Form submit event
- 15 HTML Form default behavior
- 16 Prevent default behavior with event.preventDefault