Why does everything display at once, using setTimeout in Javascript?
As stated in the comments, you are creating 1000 timeouts for 500 ms at the same time – after 500 ms all of them will be executed. What you want is to increase the timeout for every scheduled function: setTimeout(function() { // do something }, count * 500); However, creating 1000 timeouts at once is … Read more