How to use Code Runner extension for JavaScript on VS code
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
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.