I want the white circle in my code to go up you push 🔼 and down if you push 🔽. It's not working. I need help. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I want the white circle in my code to go up you push 🔼 and down if you push 🔽. It's not working. I need help.

Also I don't want the ⚪ to get out of the screen. Oh, and I know that if I push let's say 🔽 once then it will keep going down. I like it that way. https://code.sololearn.com/Wh9tG53eUjuJ/?ref=app

3rd May 2022, 7:07 AM
Lego in Motion
Lego in Motion - avatar
3 Answers
+ 2
Maybe making better use of indentation and comments will help other people to understand your code and suggest corrections
3rd May 2022, 11:19 AM
Emerson Prado
Emerson Prado - avatar
+ 2
Lego in Motion , there are some issues in css , which make animation impossible. I will show you them today leater. If you want to solve such as tasks you should like to see more information here: https://www.w3schools.com/howto/howto_js_animate.asp
4th May 2022, 10:57 AM
JaScript
JaScript - avatar
+ 2
I'll check this out later cause I'm lazy.
4th May 2022, 8:17 PM
Lego in Motion
Lego in Motion - avatar