What is the purpose of onclick="displayMessage()" on a button?
onclick="displayMessage()"
It selects the heading whose ID is displayMessage.
displayMessage
It calls displayMessage() when the user clicks the button.
displayMessage()
It changes the button's label to displayMessage().
It calls displayMessage() as soon as the page begins loading.