Industry-relevant training in Business, Technology, and Design to help professionals and graduates upskill for real-world careers.
Fun, engaging games to boost memory, math fluency, typing speed, and English skills—perfect for learners of all ages.
Enroll to start learning
You’ve not yet enrolled in this course. Please enroll for free to listen to audio lessons, classroom podcasts and take mock test.
Test your understanding with targeted questions related to the topic.
Question 1
Easy
What is a variable?
💡 Hint: Think about how you can use a box to hold something.
Question 2
Easy
List the three ways to declare a variable in JavaScript.
💡 Hint: Recall the keywords we discussed.
Practice 4 more questions and get performance evaluation
Engage in quick quizzes to reinforce what you've learned and check your comprehension.
Question 1
What type of variable declaration should you use if you want the value to remain constant?
💡 Hint: Remember what `const` means compared to others.
Question 2
True or False: Variables in JavaScript can only hold strings.
💡 Hint: Think about the different types we learned about.
Solve 2 more questions and get performance evaluation
Push your limits with challenges.
Question 1
Create a program that asks the user for their name and age, storing these values in variables. Use let
for age, but const
for name. Output a message greeting the user.
💡 Hint: Use prompts to get user input for the variables.
Question 2
Write a function that initializes a constant product price and calculates the total cost based on a number of items purchased. Return the total cost.
💡 Hint: Remember to use `const` for the price and how to return a value from a function.
Challenge and get performance evaluation