Nothing is wrong, but its still wrong


#1



https://www.codecademy.com/en/courses/javascript-beginner-en-Bthev-mskY8/0/2?curriculum_id=506324b3a7dffd00020bf661

So I'm not technically doing anything wrong, in fact I've passed it and have moved on, but when I work on the lessons after this, the computer asks another, extra question. It just says Question. Then I press 'ok' it disappears, and the next box (Do you choose rock, paper, or scissors?) comes up. It doesn't affect the way the code works, but I can't figure out what's wrong and its bugging me.


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


#2

Hi the instructions says

Declare a variable called userChoice.
Make the variable equal to the answer we get by asking the user "Do you choose rock, paper or scissors?"

And you did it!

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

But its missing the var before userChoice

And The extra questione you get is from this part

var userChoice = prompt("Question");

Remove it.


#3

Thank you so very much!