Menu
×
×
Correct!
Exercise:Use a jQuery method to toggle between adding and removing the "important" class from the <p> element on click.
$("p").click(function(){
$(this).toggleClass("important");
});
Not CorrectClick here to try again. Correct!Next ❯$("p").(function(){ $(this). (" "); }); |