Step 3 Won't let me print computerChoice


#1


Replace this line with your code.


#2

function userChoice(rock, paper, scissors) {
var userChoice = prompt("Do you choose rock, paper or scissors?")
var computerChoice = Math.random();
console.log(computerChoice);
}


#3

Assuming you are on Computer Choice Part 1 then you do not need the function userChoice and you dont need the { or } either


#4

Thank you very much! It had automatically carried over the previous data so I was still running it with the old code. I think they need to fix that!


#5

Yeah that could be a problem. Otherwise glad to help! :smiley:


#6

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