During this module I created a way to change the background on my website via check boxes. I do so by assigning each check box an id and utilizing JavaScript if blocks to check which color is selected for the background. I also use buttons to fire off my JavaScript functions and reset the background color and clear the check boxes.

To see the example visit http://erikalicea.esy.es/testing.html
Here is the code I used:

code2