Test does not check for third `if` statement in Workshop Logic Checker App
Author: SupravisorCreated Oct 1, 2026Updated Oct 1, 2026
Labelsscope: curriculumstatus: waiting triage
Describe the Issue
The assertion checks the code in the editor for a const variable for timmyAge then an if block, not for a third if statement.
Affected Page
https://www.freecodecamp.org/learn/javascript-v9/workshop-logic-checker-app/step-11
Your code
let timmyAge = 18;
if (timmyAge >= 16) {
console.log("Timmy is old enough to drive.")
}Expected behavior
Changing how timmyAge is declared should not affect the test for a third if statement.
Screenshots
No response
System
- Device: [e.g. iPhone 6, Laptop]
- OS: [e.g. iOS 14, Windows 10, Ubuntu 20.04]
- Browser: [e.g. Chrome, Safari]
- Version: [e.g. 22]
Additional context
No response
Source: freeCodeCamp/freeCodeCamp