Can anyone help with this one?

I am stuck here, for some reason the code will not run and I don’t see the problem. Can anyone help?

link here -->

Missing end bracket at line 51, better indentation/spacing will help to highlight that kind of problem. Well-written otherwise :slight_smile:


Thank you, it didn’t seem to work.

This is the error message /home/ccuser/workspace/javascript_101_Unit_3/Unit_3/rockPaperScissors.js:53

Line 51 of your link, I don’t know what it’s like in your code editor, here’s a screenshot. I just added the bracket. Regardless it’s a syntax error, so just tidy everything up and make sure every opening bracket has a match.

1 Like

I think it’s supposed to be like this (semicolon placement).

}  // line 50
};  // line 51

You are right, thank you.I cant believe i missed the closing bracket for the function 🤦

Thanks again

Thanks bro, its sorted

Any time! Syntax error is an easy fix. I’d rather that than some monster.

1 Like