Step 3 Won't let me print computerChoice


Replace this line with your code.


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


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


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!


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


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