+ 2
The boxâŠrandom⊠variables are local and cannot be see in another parts or functions in your code. A solution shows following changed code:
https://code.sololearn.com/WJdTq9l1NlQ2/?ref=app
+ 3
Any feedback from you Your Mom ?
+ 2
Chris Coder Thank you for the information. It works for me either way. Now I have modified it. Should work everywhere.
+ 1
JaScript It works in a web browser but it is not working via codeplayground.
0
Your Mom I have already answered your question above and in my corrected code they move.
If the answer is not sufficient then it is needed from you a precise question and description, what do you want to achieve, how and when should something move?