Event handling revision notes

An event listener receives an event object. The target identifies the originating element and currentTarget identifies the listener's element. Delegating clicks to a parent works for children added later.

Section
Study materials
Kind
Notes
Subject
Web development
Subtopic
Event handling
Difficulty
Beginner