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


#1

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?


#2

Hello,

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

Thank you! :slight_smile:


#3

end it with a semicolon.


#4

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