︎   ︎   ︎   ︎  


Worksheet 006

1. Create 10 columns that toggle on and off when you click on them. You click on the column and the column turns red and stays red. You click on the column again and it turns white and stays white. Challenge: Make this work for a grid of cells.

2. Make 2 bouncing balls.

3. Make 20 bouncing balls.

4. Create a new ball when you click the canvas.

5. Add the ability to zap (delete) a ball if you click on it.