Exercise:

If you click on a <p> element, it should be hidden. Use the correct event to do so.

Syntax hint: $("element").event();

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