Exercice 1 : Drawing a Primitive Shape

Exercice 2

displaying several scripts

Just make sure to change the .getElementById's name and have those id's named and defined in your CSS. The var names also need to be different from one exercice to the next.

Exercice 3 : Automating Repetitive Tasks

Using a for loop

Exercice 4 : User Input

Using a tool object

Click anywhere inside the purple square. Every time you click, you'll create a circle!
Refresh the page to erase all the squares.