Easy
How to Add Click Event Listener and Prevent Form Submission Default Behavior in JavaScript
Which of the following methods would you use to add a click event listener to a button and prevent the default behavior of a form submission?
1const button = document.querySelector('#submitButton');