Menu
×
×
Correct!
Exercise:Use a jQuery method to toggle between adding and removing the "important" class from the <p> element on click.
$("p").@(5)(function(){
$(this).@(11)("@(9)");
});
$("p").click(function(){
$(this).toggleClass("important");
});
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 60 exercises.
Are you sure you want to continue?