+ 1
A question about Atom (text editor) and JavaScript
I have downloaded atom (text editor) in the windows 7 and also downloaded 'script' package. But it still does not run my 'console.log('Hello World') Why?!
6 Answers
+ 1
The output of console.log is shown in console panel of the browser you're running code. You can press F12 key in webpage and click console tab to see output.
Or if you are on a NodeJS environment, you can see output by running
node path/of/file.js
on CMD , windows
+ 1
Thank you!
+ 1
Sarthak đłđ” Thank you but, on YouTube I saw they console.log on the same atom text editor. How?!
+ 1
CodeR
Are you coding JS on Browser or in NodeJS ?
+ 1
I am coding on the atom and running it on chrome. But I saw if I click run the script in atom, it shows console.log. But in my case it does not
+ 1
CodeR
I have not much idea about atom IDE.
But this video will guide you to that
https://m.youtube.com/watch?v=S7Brp9cStgw
Edit:
https://youtu.be/_k_pTbHB04A