Javascript help


#1

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

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


#2

Define “does not work”


#3

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


#4

I recommend Codecademy for beginning to learn JS.


#5

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