hands-on lab
Working With Web APIs - Event Listeners
Difficulty: Beginner
Duration: Up to 45 minutes
Students: 40
Rating: 5/5
Get guided in a real environmentPractice with a step-by-step scenario in a real, provisioned environment.
Learn and validateUse validations to check your solutions every step of the way.
See resultsTrack your knowledge and monitor your progress.
Description
In this lab, you will be working with Event Listeners to complete a task list application. An event listener is a function that waits for a specific page interaction, such as a mouse click, to occur. Event listeners can bind to many different page events.
Covered topics
Lab steps
Introduction to HTML and CSS Labs
Adding an Event Listener to a Button
Adding Event Prevention to Form
Getting the Input Value of the Form
Clearing the Input Value of the Form
Testing Out the Task List Application