Build a Logic Checker App - Step 11

Tell us what’s happening:

r code does not pass tell me about what is happening

Your code so far

const hasDeveloperJob = true;

if (hasDeveloperJob) {
  console.log("Timmy is employed as a developer.");
}

const isTimmyAGamer = false;

if (isTimmyAGamer) {
  console.log("Timmy loves to play World of Warcraft.");
}

// User Editable Region

let timmyAge  = 18;
if(timmyAge = 16){
  console.log("Timmy is old enough to drive.")
}
 

// User Editable Region

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/143.0.0.0 Safari/537.36 Edg/143.0.0.0

Challenge Information:

Build a Logic Checker App - Step 11

Hi

Within the condition brackets of an if statement you need to include comparison operators . The equal sign on its own assigns a value in a variable which is not what you want. The instructions tell you which operator to use:

" Create a third if statement. For its condition, use the >= operator to check if timmyAge is greater than or equal to 16."