I'm currently developing a game called 'Pointless', inspired by the popular UK game show of the same name. In the game, there is a countdown that starts at 100 and decreases to display the team's score. I'm attempting to recreate this feature in my game. For reference, you can watch a clip from the show here.
However, I'm encountering an issue where the entire countdown executes simultaneously instead of revealing one element at a time as intended. I need to figure out how to hide each div separately.
You can view the code I'm using on this JSFiddle.
for (var i = 0; i <= 10 ; i++) {
$('#' + i).toggle('slide');
}