Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
HTML DOM Events
The ondblclick Event
Use the addEventListener() method to attach a "dblclick" event to a p element.
Double-click me.