Posts by Marcelo • 1 point
2 posts
-
-1
votes1
answer62
viewsQ: how to identify a collision between a moving random div and one that I’m moving
<div id="player" class="circleBase "></div> <div class="saida circleBase" id="saida1" title="saida 1"></div> <div class="bouncer circleBase" id="bouncer1"…
-
-4
votes2
answers57
viewsQ: how to last values of a variable in several different functions, in javascript,
function CalcularSoma(valor1, valor2, soma) { var valor1 = document.getElementById("formValor1").value; var valor2 = document.getElementById("formValor2").value; var soma; soma =…