Please enable JavaScript to use CodeHS

AP Computer Science Principles in JavaScript

Lesson 3.8 Mouse Events: Mouse Clicked

Description

In this lesson, students are introduced to a way input can be taken from the user’s mouse using the mouse clicked method.


Objective

Students will be able to:

  • Describe how events are different than timers
  • Use mouse click events to create programs that respond to user clicks