The following page snippet includes a couple of messages in a list, and a code snippet that retrieves a few hundred messages from an API endpoint using AJAX. How can you add these new items to the .message-area--list element in the most performant way?html Existing message 1 Existing message 2 $.get('//example.com/api/v1/message').done(function (data) { var tonsOfItems = data.messages; // addall these messages to a large page });

🎲 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.


The following page snippet includes a couple of messages in a list, and a code snippet that retrieves a few hundred messages from an API endpoint using AJAX. How can you add these new items to the .message-area--list element in the most performant way?<br>html<br><div class='message-area'><br> <ul class='message-area--list'><br> <li>Existing message 1</li><br> <li>Existing message 2</li><br> </ul><br></div><br>$.get('//example.com/api/v1/message').done(function (data) { var tonsOfItems = data.messages; // add<br>all these messages to a large page });<br>