0:00
Event listeners in JavaScript
0:02
You have a button here and you want to hide this button whenever a user clicks on it
0:06
So just select this button using document.querySelector, then add an event listener that will trigger a callback function when someone clicks on this button
0:16
The callback function will change the display property of this button to none
0:20
We can also do a console.log saying I am ninja and now you click on this button. It's hidden and becomes a ninja