I have been at this for the pass 20 minutes and still can not find out what am i doing wrong, i have read some answers to it but it still does not work, it shows "Reference error: Else is not defined"

Here is my code :

("Jon".length * 2 / (2+1) === 2 )
console.log("The answer makes sense!");
console.log("Error Error Error");


You can't have an else unless you have an if as well.

The format for a simple if/else statement:

if (this condition is true) {
   do this thing;
} else {
   do this other thing;


Thanks @albionsrefuge for your help, i tried it and it help :slightly_smiling:


Also, else should all be lowercase letters, not uppercase first letter


A post was split to a new topic: What am i doing wrong here?