0
Why isn't this working?
I was trying to add a movement animation to this code and it stopped working. As far as I can tell, it is the same as the example in the Game development with JS course, except I removed the down button and it's function. Please tell me how to remedy this. https://sololearn.com/compiler-playground/Wc5anUbfe1l9/?ref=app
2 ответов
+ 3
html, line 6: remove the comma.
also, you haven't defined "dir" in js.
+ 1
Thanks