0
Can anyone help me with my code.
This is my third time trying this so hopefully it is successful, anyhow, I have been working through the course "Game Development with JS," However, I have gotten a bit stuck at lesson 23 and cannot seem to make the coding work despite my best efforts, if anyone has an idea on how to improve/fix this, i would be really appreciative of the assistance. Kind regards https://code.sololearn.com/W0XNa76I78VX/?ref=app
3 ответов
+ 3
Hi Luke, you hadn't declared your id for the jump button, nor the variable count. Also, all of that needed to be wrapped in that window.onload function.
Check out my changes below. I hope it's what you want.
https://code.sololearn.com/W3G5NndAg8Y0/?ref=app
+ 1
Thank you so much!
+ 1
Happy to help matey.
Enjoy your coding!