0
how to make the subsequent times start the animation when you click on click me?
2 Respostas
+ 1
It's already 23:30 here, so I'm a bit tired...
What exactly is the purpose of your code?
What should the help button do?
I don't understand it.
Maybe you should put the setInterval and clearInterval out of your main function...
Now, does your code work as you expected it to do?
If yes, I will inspect it and see what can be done.
If not, could you please describe what should happen.
0
Hi
goal: do not let the cube get to the bottom corner. when you click on the "help" button, it stops it. "click me" to start the cube. After one win, nothing starts.