Practice · 1 of 3
Store and Combine
CHALLENGE
Difficulty: beginner+25 XP
Practice variables and template literals:
1. Declare a const called learner holding your name (a string).
2. Declare a let called lessonsDone starting at 0, then reassign it to 3.
3. Compute const remaining = 15 - lessonsDone;
4. Log one sentence using a template literal that includes both the name and the remaining count — e.g. Ada has 12 lessons left.
Press Submit to check your solution.
Back to lesson: Practice: Variables: Naming Values — Practice