JavaScript addEventListener()

This example uses the addEventListener() method to add two click events to the same button.