Posts by grzf • 11 points
1 post
-
1
votes3
answers481
viewsA: Changing the text of the Button
I prefer this approach! Any doubt shouts there. Stay with God! const btn = document.querySelectorAll('#dados') btn.forEach(x => { x.addEventListener('click', () => x.innerHTML = "Leitura…