4."Build rock paper scissors" part 2 what is wrong?


my code is:

var userChoice = prompt("Do you choose rock, paper or scissors?")

then I press save and submit code and it prompts me.
I press ok and it asks me: did you declare a variable called user choice?

what is wrong?



Your code looks fine. But to be sure I'm addressing the issue, could you please, post the exercise link?!

Thank you! :slight_smile:


end it with a semicolon.


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.