Posts by Caio Ribeiro • 9 points
1 post
-
-1
votes3
answers82
viewsQ: How do I use Javascript to check if my input has any written text?
I tried it this way: function aviso() { document.querySelector(".registers_button") let email_box = document.querySelector(".email") if (email_box.innerHTML == '') { alert("Por favor, preencha os…