course content

Course Content

Introduction to JavaScript

Challenge: Define the VariableChallenge: Define the Variable

Task

  1. Define a variable named myVar.
  2. Assign the literal 15 to the variable myVar.
  3. Print the variable myVar to the console.
Hint
1. Use the let keyword.

2. Insert variable name in the console.log() function.

Section 2.

Chapter 3