visuco
Challenge 2 of 12

Three squares, all the same size. Rather than typing 80 three times, make a variable above everyFrame and use its name for all three sizes.

Draw three GREEN squares 80 across on BLACK, at 40, 160 and at 160, 160 and at 280, 160.

Your code JavaScript

Draw three GREEN squares 80 across on BLACK, at 40, 160 and at 160, 160 and at 280, 160.

0 / 30 frames · 400×400
Target
Yours
Results
0%
Press Run to check your code
Penalties: none this run

Report this challenge