Build a Logic Checker App - Step 12

Tell us what’s happening:

i have wrote the correct code but it is showing error i think there is some kind of discrepancy in this question kindly look into it

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

const timmyAge = 18;

if (timmyAge >= 16) {
  console.log("Timmy is old enough to drive.");
}
else{
  console.log("Timmy is not 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

Challenge Information:

Build a Logic Checker App - Step 12

Hi

There should be a space after ‘else’ and before the opening curly brace.