HTML5 data attributes allow you to create valid custom attributes to store arbitrary data within DOM elements. jQuery has an API to interface with custom data such as the series of quotes below. How can you mark the second quote as your favorite?html A quote A favorite quote A quote A quote

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


HTML5 data attributes allow you to create valid custom attributes to store arbitrary data within DOM elements. jQuery has an API to interface with custom data such as the series of quotes below. How can you mark the second quote as your favorite?<br>html<br><div class='quotes'><br> <blockquote data-favorite='false'>A quote</blockquote><br> <blockquote data-favorite='false'>A favorite quote</blockquote><br> <blockquote data-favorite='false'>A quote</blockquote><br> <blockquote data-favorite='false'>A quote</blockquote><br></div><br>