Each lesson pairs reading with runnable code. Edit the editor, press Run, read the output panel, then answer three MCQs.
Workflow
- Read the narrative and inline examples
- Run default code—confirm you understand output
- Change one line (variable, loop, function) and run again
- Complete MCQs before the next lesson
Debugging here
Use console.log, console.table, and printOutput. In real projects, browser DevTools Sources tab sets breakpoints.
Important interview questions and answers
- Q: Why run after edits?
A: Immediate feedback locks in mental models faster than reading alone. - Q: MCQ purpose?
A: Self-check before advancing—gaps show what to re-read.
Self-check
- List the four playground steps.
- Name two logging tools.
Challenge
Practice loop
- Read the lesson.
- Run code.
- Edit one expression and run again.
- Pass three MCQs.
Done when: you completed all four steps once.
Interview prep
- Why MCQs?
Self-check before advancing.