Tutorials
THE WORLD'S LARGEST WEB DEVELOPER SITE

Exercise:

When the button is clicked, trigger myFunction() with an event.

Hint: Add an onclick event.