JavaScript
Exercise 13 / 15
JavaScript Events
Medium
18 points
Add a click event on a button that displays "Click performed!" in the console.
JavaScript events react to user interactions. addEventListener() attaches an event handler. Common events are click, mouseover, keydown, submit. This is essential for web interactivity.
Well done! 🎉
Your answer is correct! You earned 18 points.
Not quite...
Try again! You can do it.
Your code
JavaScript
Result