What does the onclick attribute do?
onclick
The onclick attribute defines what happens when a button is clicked.