Exercise:

Use the on() method to attach a click event handler to all <p> elements.

Syntax hint: $("element").method("event",...)

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