0
Why does this not work?
I just started learning today, and when typing a line of code it doesn't work despite me doing what the tutorials are telling me? For example console.log("Hello World") Gives me an error instead of working properly, it's probably really simple, but I'm new so any help please?
4 Answers
+ 2
Java and javascript are two different languages..
You are learning javascript. In playground ground options, you can web option. Select and write your JS code in third tab.
+ 1
Thank you!
0
Is it java or javascript?
Code is about JavaScript. It works fine. Where you getting error and what errors? Try it in playground and check output. If not work then save code and share link here... Hope it helps..
0
The error is "file not found" I'm still messing around in the playground. I'm just trying out what I've learned from the tutorials.
Edit: I tried running the command with nothing there, and I get the same error, I'm running the code in "Java" and don't know if there's a difference between "Java" and "JavaScript" if there is, I can't see "JavaScript" as an option when going to the playground.