I have no idea what is wrong please help me


What did I do wrong?


It says there's a problem with your syntax.

In line 17, you have a semi-colon on the if statement and that tells to end that condition loop there. So you have your interpreter also saying that SyntaxError: Unexpected token else. Also make the if (userAnswer === "Yes") since it's a comparison and not assignation.

Hope this resolves.


Here is all the correct code! I hope this helps.


Thank you soo much !!


thank you that helped a lot


You're welcome.

Have fun coding! :slight_smile:


You are absolutely welcome. I'm glad you could help.