JS Adicionar clique no ouvinte
document.getElementById("myBtn").addEventListener("click", function() {
alert("Hello World!");
});
Batman
document.getElementById("myBtn").addEventListener("click", function() {
alert("Hello World!");
});
function first(){
alert( " hi it's Toofi");
}
task3Element.addEventListener('click', first);
document.querySelector('div').addEventListener('click', () => {
console.log('div clicked');
});