Menu
×
×
Correct!
Exercise:Use a jQuery method to toggle between fading in and out a <div> element, when clicking on a button. Note: The duration of the effect should be 1000 milliseconds.
$("button").@(5)(function(){
$("div").@(10)(@(4));
});
$("button").click(function(){
$("div").fadeToggle(1000);
});
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 60 exercises.
Are you sure you want to continue?