Please enable JavaScript to use CodeHS

{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} {# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #}

Chapter 3

Animation and Games

{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 3.1 Timers What is Animation? Draw Wait and Move Introducing Timers Moving Ball Magic 8 Ball Check Your Understanding Exercise: Wild Square
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 3.2 Using Timers Random Circles Stopping a Timer Using Multiple Functions with a Timer Bouncing Ball Spinner Random Ghosts Random Fireworks Check Your Understanding Exercise: Circle Wall
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 3.3 Mouse Events What are Events? Responding to Events Getting Event Information Click For Circles Colorful Drag to Paint More Callback Parameters More Circles Click For Ghosts Simple Painting Check Your Understanding Exercise: Coordinates
{# number the lesson by where it sits in this module: a lesson shared with another module must not link to that other module's number #} 3.4 Key Events Key Event Methods Using Key Events Detecting a Specific Key Press the Left Key Keyboard Square Check Your Understanding Exercise: Basic Snake