Exercise:

Use a jQuery method to toggle between fading in and out the <div> element, when clicking the button.
Note: The duration of the effect should be 1000 milliseconds.

Syntax hint: $("element").method(speed);

Edit This Code:
Result:
Correct Code:
Correct Result:
Exercise - © w3schools.com