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