Lesson 4 of 8

🔻 Events

🎯 Grades K–2 ⏱ ~15 minutes 💚 Beginner

What You'll Learn

  • What an event is — something that happens to start code
  • How buttons and clicks trigger events
  • How events make programs interactive!
Quick Check

1. What is an event in coding?

AA type of loop
BSomething that triggers code to run, like a click
CA drawing

2. "When the button is clicked → play a sound" is an example of:

AA loop
BAn event handler
CA sequence

3. Events make programs:

ASlower
BInteractive and fun to use
CLess useful