**SOLVED**7/9 compare functions / paper beats rock "SyntaxError: Unexpected token else"


#1

I can't seem to get this to work. I'm sure it's something stupid but I can't find it.

Any help is appreciated.


#2

remove the ; from the end of your first if statement and put it at the end of "the result is a tie!"


#3

Thank you, I feel like an idiot, but does that mean that when I put the ; at the end of my if statement it was running it without running the rest of the if / else statements?


#4

early on in the lessons it described the ; marks as periods in a sentence so to speak so I'm guessing that the program saw that ; and said "I guess I'm suppose to stop here" at least that is the way that I understand it for if/ else if/ else statements


#5

Yeah that's what I was thinking too, ; = stop. Thanks again!


#6

No problem and make sure to mark this as solved

Keep on coding