Exercise:

Use a jQuery method to toggle between sliding up and down the <div> element, when clicking the button.
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