Let's introduce a Timeout Function to our code to run some code after a slight delay. Our version should look like this: "setTimeout(function() {} , 1000);" Breaking it apart we see two main pieces. The first is another Anonymous function: "function () {}". The second piece is the delay we will wait for, don't worry it's in milliseconds, and 1000ms is 1s long.
Now that we have another Anonymous Function, let's add a line of code that sets the box's background color to blank or "". That will force it back the background color specified in our CSS. Don't forget to be efficient and copy and paste long expressions when it's alright to do so.
Alright this is a great template so far for every boxes' behavior. Let's freshen up the CSS to add a margin so new boxes have a space between them. Use "margin: 1px;" for that.
Let's try to make two more boxes real quick. Simply copy the HTML for the first box and give the other box's class names like: "box2" and "box3". What's wrong with the end result?
OK so no extra boxes show up presently, well let's try to add their class names to the ".box" class in CSS. Just separate the names with commas and don't forget the beginning period like this: ".box , .box2, ....{". Ok now we can use our code on the new boxes right? Try to think of a reason why it's not working for them.