Given this snippet of HTML and jQuery code, what will the result look like?html Item 1 Item 2 Item 3 Sub Item 1 Sub Item 2 '$('.items').find('.active').nextAll().addClass('after-active');'

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


Given this snippet of HTML and jQuery code, what will the result look like?<br>html<br><ul class='items'><br> <li class='active'>Item 1</li><br> <li>Item 2</li><br> <li><br> Item 3<br> <ul><br> <li>Sub Item 1</li><br> <li>Sub Item 2</li><br> </ul><br> </li><br></ul><br><br>'$('.items').find('.active').nextAll().addClass('after-active');'