I tried adding an EventListener to my ...
DOM = π₯³π
Ahoy π΄ββ οΈ-Dev!
Itβs pretty cool that a lot of JavaScript is adding classes. β Wes Bos beginnerjavascript
const butts = document.querySelector(".butts");
function handleClick() {
console.log("π");
}
butts.addEventListener("click", handleClick);