Please enable JavaScript to use CodeHS

Introduction to Computer Science in JavaScript (Corgi)

Animation and Games

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

Lessons

10.1 Timers

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

10.2 Stopping Timers

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

10.3 Collisions

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

10.4 Mouse Click Events

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

10.5 More Mouse Events

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

10.6 Key Events

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

10.7 Animation and Games Quiz

  • Animation and Games Quiz