thecodezone.
The Code Zone
Short steps, at your pace · Free lessons and practice · Member video walkthroughs
Save your next small win.

Checking your account…

YOUR SAVED CODE-ALONG

Test conditions with Rob: workspace

Keep the lesson open on your other screen. Your edits stay in this workspace, separate from the practice activity. Sign in to save and reload a private account draft across devices, or share a snapshot when you need help.

Open Theater ModePop Out Code Editor (opens a separate window when supported)Go to editor Join Our Coding Skool$7/m · 7 Day Free Trial in The Code Zone on Skool (opens in a new tab)Watch the video & read the lesson (opens in a new tab)Ask a question in The Code Zone (opens in a new tab)

CODE-ALONG / THEATER MODE

Test conditions with Rob

ORIGINAL WALKTHROUGH · 15:24

Watch with Rob.

Pause whenever you want to try a change. You can return to the lesson at any time.

LEARN WITH THE CODE ZONE

Unlock this video walkthrough

Written lessons and coding practice are free. Video walkthroughs are included with a paid Code Zone membership or an active free trial.

Have a Code Zone website account? Use your learning account’s email to get a six-digit sign-in code, or use your existing website password.

Need a website account? Paid Skool members and active trial members can use the email from their membership questions to request a sign-in code. No invite link or Skool password needed.

Close this window to keep practicing. After signing in, you’ll return to this lesson.

Video walkthroughs are included with an active Code Zone membership. The written lesson and practice are free.

Video settings & progress

Start the video to enable typing controls.

YOUR TURN

Test conditions with Rob: code-along

A useful condition should still make sense when one of its inputs changes. Follow the video, write the program yourself and run it to inspect the output. This workspace is not graded. Save a draft or share a help snapshot when needed.

Load an example, edit it and run it. Word wrap is enabled.

Work in VS Code instead

Copy the starter into a file named practice.js in VS Code. If Node.js is installed, open the terminal in that folder and run node practice.js. Compare the output with the task above. Automated challenge checks are available in the browser editor.

Code example
example.jsjavascript · example
// Test conditions with Rob
// Write your code alongside the video.

Replace your editor code?

Your current work will be replaced. Choose Cancel to keep it.

See the attached lesson’s comicRob compares two desk lamps, checks keys beside his laptop, and works through comparisons at the keyboard.