Please enable JavaScript to use CodeHS

Introduction to Computer Science in JavaScript (Golden) (2022)

Animation and Games

Students learn how to make objects move around the screen and let users interact using the mouse!

Lessons

9.1 Timers

  • Timers
  • Timers Quiz
  • Moving Ball
  • Magic 8 Ball
  • Crazy Ball

9.2 Random Circles

  • Example: Random Circles
  • Random Circles Quiz
  • Random Circles
  • Spinner Example
  • Growing Circle
  • +2 more

9.3 Random Ghosts

  • Example: Random Ghosts
  • Random Ghosts Quiz
  • Random Ghosts
  • Random Fireworks
  • Circle Wall
  • +1 more

9.4 Bouncing Ball

  • Example: Bouncing Ball
  • Bouncing Ball Quiz
  • Bouncing Ball
  • Hotspot Ball
  • Trail
  • +1 more

9.5 Mouse Events: Mouse Clicked

  • Mouse Events: Mouse Clicked
  • Mouse Events: Mouse Clicked Quiz
  • Click For Circles
  • Click For Ghosts
  • Teleporting Ball
  • +1 more

9.6 Mouse Events: Mouse Moved

  • Mouse Events: Mouse Moved
  • Mouse Events: Mouse Moved Quiz
  • Simple Painting
  • Colorful Drag to Paint
  • Coordinates
  • +1 more

9.7 Drawing Lines

  • Example: Drawing Lines
  • Drawing Lines Quiz
  • Drawing Lines
  • Leash
  • Advanced Animator Badge
  • +1 more

9.8 Key Events

  • Key Events
  • Key Events Quiz
  • Keyboard Square
  • Basic Snake

9.9 Crazy Ball Game

  • Crazy Ball Game 1
  • Crazy Ball Game Quiz 1
  • Crazy Ball Game 1
  • Crazy Ball Game 2
  • Crazy Ball Game Quiz 2
  • +3 more

9.10 Animation and Games Quiz

  • Animation and Games Quiz
  • Animation Exercises Badge