Section 1 - Instruction

You've learned that variables are like labeled boxes that store information. Now let's practice creating and using them effectively.

Engagement Message

Ready to become a variable master?

Section 2 - Practice

Type

Multiple Choice

Practice Question

Which line of code correctly creates a variable named playerName and stores the value "Alex" in it?

A. let playerName = "Alex" B. "Alex" = playerName C. playerName == "Alex" D. Alex = playerName

Suggested Answers

  • A - Correct
  • B
  • C
  • D
Section 3 - Practice

Type

Fill in The Blanks

Markdown With Blanks

Complete the code to create a variable called age with the value 25, then print it:

Suggested Answers

  • let
  • age
  • 25
  • age
Section 4 - Practice
Sign up
Join the 1M+ learners on CodeSignal
Be a part of our community of 1M+ users who develop and demonstrate their skills on CodeSignal