how to create a event listener in javascript code example Example: javascript eventlistener document.addEventListener('click', () => { });