The button uses the onclick attribute to run JavaScript. When you click the button, it shows an alert message.
onclick