This example uses the addEventListener() method to attach a click event to the document.

Click anywhere in the document.

The coding behind all it