I\'m trying to make a webpage change the background color every one second using JavaScript.
I\'m using setTimeout but I can\'t figure out how to get my variabl
You should definetly read some basic JavaScript tutorial or book. I am also new to JavaScript but some reading has helped. Here http://www.w3schools.com/js/ you can find some good stuff as reference.
This should do the trick
If you are going to manipulate the DOM a lot i recommend JQuery