Posts by David Artagnan • 13 points
2 posts
- 
		1 votes1 answer32 viewsQ: Use scroll event in a specific elementFala Pessoal! I wonder if it is possible to accomplish something like in the code below: const elemento = elemento.document.querySelector(".elemento") elemento.addEventListener("scroll", () => {… 
- 
		-2 votes3 answers91 viewsQ: How to call a function through a button using querySelector?Good afternoon, you guys! I need an Alert to appear when I click on a button, but nothing I try worked. Follow the code snippet: function alerta(){ alert("Este é um alerta"); } Var botão =… javascriptasked David Artagnan 13