Build a Logic Checker App - Step 12

Tell us what’s happening:

Despite of writing the correct code it is not accepted. I tried copying the same code available in forum then also it is not accepted.

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

Code from the forum is almost by definition code which does not work.

Try formatting your else clause the same way as the example, including all spacing.

You can review this for spacing advice https://google.github.io/styleguide/jsguide.html#formatting-whitespace