Computer Choice Part 1


Cant believe I'm immediately stuck on this, have played around, can't seem to make it work though, any ideas what the problem is?

Error message on save is:
Oops, try again. Did you remember to log computerChoice to the console?

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




you log a string computerChoice to the console, you should log the variable (by removing the quotation marks ("))


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