JavaScript HTML Events

What can JavaScript do?

What's the date today?

Mouse over this text to change its color

This example uses the addEventListener() method to add many events on the same button.