• Browsers represent user inputs as "events"
  • You can "listen" for events and run JavaScript functions when they happen
  • Events are represented as objects in JavaScript and can be passed to your function
  • Event objects have some information about what happened
  • Events are either associated with an element or are global

9 / 17