Lesson 1 - Hello World in JavaScript
Lesson 1: Hello, World in JavaScript
console.log("Hello, World!");
Explanation:
console.log()
is used to print messages to the console.
This is a common starting point for learning any programming language.
Press Ctrl + Shift + J
(Windows) or Cmd + Option + J
(Mac) to open the browser's console. Type the code above to see the output.
See you in the next lesson.