Why am I getting a
SyntaxError: Unexpected token error?
It is likely that you wrote your
else incorrectly. Make sure that your
else ifs are between your
else if you don’t want one but you cannot have an
else if before an
if or after an
else. Once you use
else, that’s it. The conditional branches following the original
if are done.