I have no idea what is wrong please help me


#1

What did I do wrong?


#2

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.


#3

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


#4

Thank you soo much !!


#5

thank you that helped a lot


#6

You're welcome.

Have fun coding! :slight_smile:


#7

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