Oops, try again. Did you remember to log computerChoice to the console?


#1

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

Oops, try again. Did you remember to log computerChoice to the console?

I dont understand what ive done wrong?


#2

you have to do

console.log(computerChoice);

you can add a statement to it like

console.log("Computer Choice: "+computerChoice);