Whats wrong with my code #19


#1

I don't exactly understand what i have done wrong. here is my code:
if ("jon".length * 2 / (2+1) === 2);
{
console.log("This answer makes sense!");
}
else
}
console.log("Error Error Error");

whats wrong with my code? it says "Oops, try again. There was a problem with your syntax.


#2

On this line

You closed your if condition with a semicolon.
Remove it.

And one more thing

Your curly braces are not on the right places: here's the syntax for else statement:

 else{
      console.log("Statement here");
 }

Hope this helps