Learn JavaScript

Lesson 6 of 9 · The DOM and Events: JavaScript Touches the Page

Module 14 · The DOM and Events: JavaScript Touches the Page

The Contest and Interview Pack: Delegation, Event Order and the Virtual DOM

ProReading

Front-end interviews test the DOM in three ways. First, "build this": delegation, a debounce, a tiny renderer. Second, "what does this print?": listeners in capture and bubble, with a stop somewhere along the route. Third, "explain this": the virtual DOM, a live list, a forced layout. Behind each is a rule this module taught, and the pack below drills them.

Checking what this lesson needs for you…

What is inside The Contest and Interview Pack: Delegation, Event Order and the Virtual DOM

  1. Delegation, written by hand
  2. The bubbling order puzzle
  3. What is the virtual DOM?
  4. A debounced input
  5. Six interview questions