Skip to Content
JavaScript for Beginners: Make a Web Page Actually Do Something
Beginner
0 likes
Courses
JavaScript for Beginners: Make a Web Page Actually Do Something

Check Yourself: The Basics You Cannot Skip

Five scenario questions on let, const, data types and equality. If you miss more than one, reread the lesson that covers it.

Course content

Sign in to save your progress.

Course Home
1. You need a variable for the VAT rate, which never changes while the page runs. Which do you use?
4. You check if (qty === NaN) after Number(input) and it never runs, even when the input is "abc". Why?
5. if (status === "paid") is false, but status prints as paid. A teammate suggests switching to ==. What do you do instead?

About

Five scenario questions on let, const, data types and equality. If you miss more than one, reread the lesson that covers it.

Duration
5 min
Last update
08/30/2026
Was this helpful?
​ 0 ​ 0

Comments (0)

Sign in to comment

No comments yet.