Khan Academy Wiki
Challenge: Mouse movement mania
Mouse-mania
Description
Challenge Name: Challenge: Mouse movement mania
Section(s) Intro to JS
Steps: 3

Challenge: Mouse movement mania is a programming challenge in the Intro to JS course. This challenge practices making interactive programs using mouse variables.

Steps[]

There are three steps in this challenge:

  1. Add a fill() command: This step asks users to add a fill() command that contains mouse variables for the parameters.
  2. Change the ellipse() command: This step asks users to change the ellipse() command so it contains mouse variables for the width/height parameters.
  3. Add a stroke() command: This step asks users to remove the noStroke() add a stroke() command inside the draw function that contains mouse variables for the parameters.
Mouse-mania

The end result of Challenge: Mouse movement mania

If users get stuck[]

If users get stuck, they should:

  • Pay attention to Oh Noes and the error messages.
  • Go back and review the "Interactive programs" tutorial.

Up next[]

[[Challenge: Brown bear eyes]