Introduction to Web APIs: Event Listeners

Difficulty: Intermediate
Duration: 8 minutes and 34 seconds
Students: 84
Rating: 5/5

This practical lesson offers an introduction to Web APIs: Event Listeners and explores event listener use cases with an HTML form.

Learning Objectives

  • Learn how to add an event listener to a queried element
  • Learn about the submit and click event
  • Learn how to capture data from a form
  • Learn how to clear the form inputs after the event is triggered

Intended Audience

This lesson is intended for anyone who wants to learn about Web APIs and Event Listeners.

Prerequisites

Anyone with an interest in Web APIs and Event Listeners in general.

The following lesson is a primer on Web APIs and the DOM: Introduction to Web APIs and the DOM

The following lesson is a primer on HTML Forms: Introduction to HTML Forms

 

Covered Topics