+ 1
Help me with this cool space game đź
To many errors https://sololearn.com/compiler-playground/WHmmzeKgkzd7/?ref=app https://sololearn.com/compiler-playground/W0u6GrdQTNYl/?ref=app
2 Answers
+ 3
It looks like you copied and pasted stuff and didn't get a clean copy/paste. There are back-ticks ` where single quotes belong '. There are missing lines here and there. Duplicate lines here and there. There is also a few lines of copied text that are not part of the code. Looks like headings from wherever you copied it from.
It's cool to copy / paste sample code. But you have to be very careful to get all the code copied correctly.
Go back to the code you were copying from and try to do a clean and full copy/paste of each of these files. There are dozens of errors in your code.
The HTML buttons don't seem to have the code required to cause actions to occur when buttons are clicked. The CSS is wrecked in several areas. The JavaScript is missing stuff. It could take hours to try and fix what's wrong due to the missing code.
0
I past them on this machine from my laptop đ»