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