NamasteScale needs JavaScript to run. Enable it to practise system design, low level design and machine coding.
A DOM event travels down from the window to the target (capture), fires at the target, then travels back up (bubble). Delegation uses bubbling to handle events for many children with one listener on a parent.