Lesson 1 not sure what is wrong with code


#1

Please help im so frustrated.


#2

You can narrow down your search for the problem to this line:

Let me know if you still can't spot it.


#3

No I really dont understand what is wrong


#4

The problem is the semicolon. In JavaScript, semicolons are used to mark the end of statements. Putting that semicolon there is ending your whole if/else statement.


#5

removing that ; has not changed the error message. And wouldn't that statement be true for the if statement.
removing it has not fixed the problem.


#6

Yes! I didn't spot that one.


#7

removing them both has changed the error message but it still not working


#8

ok got it. i fixed the +computerChoice