Acara pendengar JavaScript
const element = document.querySelector(".class__name");
element.addEventListener("click", () => {
console.log("clicked element");
});
Levaillant's Barbet