Please enable JavaScript to use CodeHS

Introduction to Computer Science in JavaScript (Collie)

Animation and Games

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

Lessons

11.1 Timers

  • Timers
  • Timers Quiz
  • Moving Ball
  • Magic 8 Ball
  • Crazy Ball
  • +3 more

11.2 Stopping Timers

  • Stopping Timers
  • Stop Timer Quiz
  • Random Circles
  • Growing Circle
  • Brick Wall
  • +2 more

11.3 Collisions

  • Collisions
  • Live Coding: Collisions
  • Collisions Quiz
  • Bouncing Ball
  • Collision Simulation
  • +2 more

11.4 Mouse Click Events

  • Mouse Click Events
  • Mouse Click Quiz
  • Click For Circles
  • Pausing the Carnival Game
  • Dripping Paint
  • +1 more

11.5 More Mouse Events

  • More Mouse Events
  • More Mouse Events Quiz
  • Simple Painting
  • Painting with Color
  • Coordinates
  • +4 more

11.6 Key Events

  • Key Events
  • Key Events Quiz
  • Keyboard Character
  • Basic Snake
  • Project: Evasion (Key Events)
  • +1 more

11.7 Animation and Games Quiz

  • Animation and Games Quiz