Dev Resources
DOM Events favicon

DOM Events

Learn/Programming

Learn how the DOM Event system works through exploration.

DOM Events's website screenshot

About DOM Events

DOM Events is an interactive learning site that explains the DOM event system through visual exploration. It covers core concepts including events, event targets, and the three phases of event flow: capture, target, and bubble.

The site details event listener configuration options (capture, passive, and once), along with listener effects such as preventDefault, stopPropagation, and stopImmediatePropagation. It explains how passive event listeners interact with the browser's event dispatching and cancellation behavior.

It includes an interactive diagram for dispatching and observing events across a simulated DOM tree (parent, child, and grandchild nodes), and links to external resources including MDN documentation, the DOM Living Standard, the HTML Living Standard, and the UI Events Working Draft. The site is created by Alex Reardon and also references a related video course.

Key features

  • Interactive visualization of DOM event capture, target, and bubble phases
  • Configurable event options: bubbles and cancelable
  • Event listener options: capture, passive, and once
  • Demonstrates listener effects: preventDefault, stopPropagation, and stopImmediatePropagation
  • Explains passive event listeners and their deferred dispatch behavior

Frequently asked questions

What is DOM Events?

It is an interactive learning tool for exploring how the DOM Event system works, including event phases, listener options, and listener effects.

Who is this for?

It is for developers who want to learn or better understand the DOM Event system through exploration.

What topics does it cover?

It covers event targets, the capture/target/bubble phases, event listener options (capture, passive, once), and listener effects like preventDefault and stopPropagation.

Are there additional learning resources provided?

Yes, it links to resources including MDN's introduction to events and event reference, the DOM Living Standard, the HTML Living Standard, and the UI Events Working Draft.

Advertise here

Featured products

  • SerpApi - Search API favicon
  • CoreClaw favicon

Show your product to thousands of developers

· 100k monthly pageviews
· 7k newsletter subscribers

Advertise your product