In the HTML and JavaScript below, the animations will all fire at once. How can you make them fire in sequence instead?html$('#element-1').animate({ top: '+=100' }); $('#element-2').animate({ top: '+=100' });$('#element-3').animate({ top: '+=100' });

🎲 Try a Random Question  |  Total Questions in Quiz: 75  |  🧠 Study this quiz with Flashcards
This question is part of a full practice quiz:
jQuery Quiz — practice the complete quiz, review flashcards, or try a random question.

jQuery MCQs For LinkedIn Skill Assessments.


In the HTML and JavaScript below, the animations will all fire at once. How can you make them fire in sequence instead?<br>html<br><div id='element-1' class='animel'></div><br><div id='element-2' class='animel'></div><br><div id='element-3' class='animel'></div><br>$('#element-1').animate({ top: '+=100' }); $('#element-2').animate({ top: '+=100' });<br>$('#element-3').animate({ top: '+=100' });<br>