Web Interaction:

Events and Listeners

With our first web interaction under our belts, it’s time to take a deeper dive into a very important element of web interaction: JavaScript events and event listeners. Events and listeners are the backbone of web interaction, as they allow interactivity to be attached to any HTML element in an application. In this lesson, we explore this capability by expanding our taco spinner application with event prevention and keyboard support.

Learn More

  1. keycode.info
  2. MDN KeyboardEvent.keyCode Deprecation
  3. KeyboardEvent.key Polyfill
  4. Can I use…
  5. Lesson Source Code
Lesson 4 of 34