html event listner code example Example: javascript eventlistener document.addEventListener('click', () => { });