19 of 28 syntax error even though it seems to be working if then else statement


I'm completing the assignment as instructed and getting the pop-up to say the answer is true, but then after I press okay, then it gives me an error saying "make sure the statement is true" and I can't get to the next lesson.

if ("Jon".length * 2 / (2+1) === 2)

{ confirm
("The answer makes sense!");
confirm("Error Error Error");


It is then giving me this error message:


I believe that instead of "confirm", you are supposed to use "console.log".


Thanks! I just did that, and it worked! :smile: