DEMO: An event is a block of code that has a specific task and must receive a signal to run.

We use an event handler to tell the program what signal to listen for and what event to run.

  • Click Run to see the parts of an event.
  • Follow the onstage directions to see what each line does.
  • Click Submit and Next to answer the questions about functions.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE