I got a piece of code that looks like this:
setTimeout(function(){
$("#question"+window.random).css("background-color","pink")
},250);
It repeats with other colors in the same function. The first time it works but not the second and so on. That means it just changes the color for one time. In the console it says undefined
.
Ben