Edit The Code:
See Result »
Try it Yourself - ©
w3ii.com
This example uses the addEventListener() method to attach a "click" event to a p element.
Click me.