why wont my js code work? it works on solelearn but not on vs code or notepad. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

why wont my js code work? it works on solelearn but not on vs code or notepad.

I am using a code I got from someone and decided to tweak it a bit and then I went to link the files together on VS code/notepad but it's not working, I replaced all the comment symbols as they didn't seem to comment properly, but still not working. if possible can someone please fix it for me or tell me what to do, also how I would link these files. ps, I don't know javascript very well just started to learn it so it may be obvious things.

16th Apr 2020, 2:01 PM
Bettalion
Bettalion - avatar
3 Answers
+ 1
For many codes will be needed a server then they will work.
16th Apr 2020, 4:21 PM
JaScript
JaScript - avatar
0
martin taylor, i did
19th Apr 2020, 12:40 PM
Bettalion
Bettalion - avatar
19th Apr 2020, 12:40 PM
Bettalion
Bettalion - avatar