Toggle navigation
Mr. Code's Wild Ride
Mr. Code
Curriculum
Showcase
Python
Math
Games
Typing
Sign in
Rainbow Box
Level 2
Rainbow Box
Template:
Look at the
example
. Click this link, fork, and add your username to the project name:
new project
Hints
If you're having trouble, look at the
Boolean
and
timing events
exercises.
For picking a random color, first pick a
random number
, and then pick a color based on the number.
For a refresher on how Math.random works, refer to this
illustration
.
Last section
Next section
×
Sign in