Run ❯
×
Change Orientation
Save Code
Change Theme, Dark/Light
Go to Spaces
The Document Object
The addEventListener() Method
This example adds two click events to the document.
Click anywhere in the document.