Learning Goals
- Run JavaScript with Node.js.
- Use
console.logto print output. - Create your first variable with
let.
JavaScript Foundations
Welcome. We are starting from scratch with Node.js, variables, and console.log.
console.log to print output.let.When we write this, we mean we are saving text inside a variable and printing it.
// Save as lesson1.js
let message = "Hello, Patricia";
console.log(message);
node lesson1.js in your terminal.name and store your name.city and store your city.console.log.