We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 74d9d18 commit 11839f8Copy full SHA for 11839f8
1 file changed
14_dom.md
@@ -909,8 +909,8 @@ de una ((elipse)):
909
if (ultimoTiempo != null) {
910
angulo += (tiempo - ultimoTiempo) * 0.001;
911
}
912
- cat.style.top = (Math.sin(angulo) * 20) + "px";
913
- cat.style.left = (Math.cos(angulo) * 200) + "px";
+ gato.style.top = (Math.sin(angulo) * 20) + "px";
+ gato.style.left = (Math.cos(angulo) * 200) + "px";
914
requestAnimationFrame(nuevoTiempo => animar(nuevoTiempo, tiempo));
915
916
requestAnimationFrame(animar);
0 commit comments