How to draw Rectangle?

Before dreaming about creating an interactive HTML5 games, let's start with the basic.


//Exercise - Change this program so the square goes from red to green and back to red etc. for each button press //Exercise - Change this program so it has two squares are red one and blue one next to it.