I'm new to programming and I just started learning JS. I tried running my first code via 'code runner' on Visual Studio Code but it wasn't giving me the output. enter image description here
Asked
Active
Viewed 705 times
-2
-
[Why not upload images of code/errors when asking a question?](https://meta.stackoverflow.com/questions/285551/why-not-upload-images-of-code-errors-when-asking-a-question) – charlietfl Jan 16 '22 at 22:50
-
@charlietfl And worse, that's not even an image of code, but an image of a computer monitor. – Bergi Jan 16 '22 at 23:22
-
Please clarify your specific problem or provide additional details to highlight exactly what you need. As it's currently written, it's hard to tell exactly what you're asking. – Community Jan 25 '22 at 10:43
1 Answers
0
You need to install NodeJS
first in order to run the JavaScript on your machine. You can download it here. Then, you should make sure that Node path is added. After that restart VS Code and run it again.

NeNaD
- 18,172
- 8
- 47
- 89
-
-
-
-
Here is the question about installing NodeJS on windows and adding it to path: https://stackoverflow.com/questions/27344045/installing-node-js-and-npm-on-windows-10 – NeNaD Jan 17 '22 at 00:25