TalentJR apps
JavaScript makes a web page do things. The keyword let makes a variable, a named box that holds a value. console.log shows a value in the browser’s console and alert shows it in a pop-up box. Numbers add up, but text in quotes is joined side by side — so the text 5 plus the number 3 gives 53, not 8.
✓ You passed this lesson’s test.
Line by line — “track each variable as the code runs from top to bottom”
Use it for: Your first JavaScript, adding a message or a score to a page.
Check: Without the quotes it would be 5 + 3 = 8 ✓
▶ Watch it animatedWork it out in your head or on paper, type the answer and press Check. Stuck? Press “Show me how”.
Right: 0 · Tried: 0
20 questions. Check each answer, then go to the next one. Get 16 or more right to pass.
🏅 Sign in with Google to earn the 💻 Console Coder badge when you pass — and a certificate when you finish all 10 lessons of Part 3 · Web Development. You can still take the test without signing in.
Why does it work? When should you use it? Ask in English, मराठी or हिंदी.
Sign in with Google to ask Free — 20 questions a day.
Prefer a real teacher? TalentJR teachers take live online classes anywhere in India and visit homes in selected cities. Tell us what you need and our team will call you with timings and fees.