0
I do not know why my code isn't working, would anyone be able to help?
I have been working through the course, "Game Development with JS," However, I have encountered a problem later in the course and i cannot figure out why my code will not work, i am only a novice so i am completely baffled. https://code.sololearn.com/cQ71Y09udRDH/?ref=app
5 Answers
+ 6
Why are you using a Java compiler for a Javascript code? Did you maybe accidently think they were the same language?
+ 3
Dude it's Ur code is JavaScript!
But u have used it inside java compiler...
+ 3
When you create your code in the code playground, choose the WEB option to write the JavaScript under the tab there.
+ 1
Yeah, i apologize, i thought they were the same language. It was my first time trying to link it.
+ 1
Java and JavaScript... easy mistake to make
(html,javascript,css)< -- web stuff has nothing to do with java just similar name this is whats used to make colourful programs here in sololearn.
and then there's
(Java)<-- Nice language once you get the hang of it