Recap with Flashcard Question 1 of 5
Your First JavaScript Lab
Start Lab
1 Choose the best answer

What is the purpose of onclick="displayMessage()" on a button?