Posts by Vinícius Crisol • 25 points
2 posts
-
-3
votes2
answers75
viewsQ: I would like to know how to change the color of a button for 1 second and then return the original color automatically
I was able to change the color of the button at the beginning of the repetition, however I do not know how to return the original color to the end. let interval = setInterval(function () { if (i1…
-
-2
votes2
answers84
viewsQ: How do I create a time interval in the execution of a for?
How I create a 1 second interval in the execution of the for or of function? JavaScript: function Linha1() { for (var i1 = 0; i1 <= 3; i1++, Linha1.setInterval(1000)) { if (notas1[0][i1] == 1) {…