A wild handleEvent appeared ๐Ÿ˜ฎ !!! Let’s say, we have a DOM element by the name of element and we want to add event listeners to it. How would you do so ? Here are two ways which can come into mind :- const handleClick = () =>{console.log(‘You can remove me later safely’)} element.addEventListener(‘click’,handleClick); element.addEventListener(‘click’,()=>console.log(‘Try…

Read More