AI Workshop: learn to build apps with AI →
Forms and JavaScript
How to interact with forms using JavaScript

Join the AI Workshop and learn to build real-world apps with AI. A hands-on, practical program to level up your skills.


In this unit we’ll talk about how to interact with a form using JavaScript.

I’ll introduce

  1. how to inspect the value of an input field
  2. how to listen to events on input fields
  3. how to intercept a form submit event

Let’s go!

Lessons in this unit:

0: ▶︎ Introduction
1: Inspect the value of an item
2: Listen to events on input fields
3: Intercepting a form submit event using JavaScript
4: Redirect to a link when user selects option in a select