UX Design and Development course

JavaScript comments

// one line comments go here

/*
  this is a multi line comment
  where you can really write out complex instructions
*/

// Javascript is a series of instructions called STATEMENTS
// All statements end with semi-colons

console.log("I love to code ");
console.log("and I hope that you love to code too!");

/*
  A Javascript program is simply a series of instructions
  that comprise of statements to make a computer do something.
*/

JS Bin