Make the Background Color Continuously Change

Start and Pause the Changing Background Color

I built this using JQuery. You can start and pause the continuous changing of the webpage’s background color.

It was fun styling the button, but it was a little difficult to get the background to stop changing colors. Fortunately I came across this great article which made it a breeze How to stop setTimeout in JavaScript using clearTimeout

2 thoughts on “Make the Background Color Continuously Change

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s