Javascript help


So I’m trying to learn javascript in atom, and when I want to use some of these commands:

It does not work, anyone know why is it like that?


Define “does not work”


my var is pink in colour, the //* gets greyed out


I recommend Codecademy for beginning to learn JS.


That’s not an error. Atom is highlighting your code for you to make it easier to read.