Error in making the game Rock Paper Scissors!


#1

When I write the following code:

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

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


#2

you need console.log() to log computerChoice to the console


#3

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

ok!!!!!!thankssssssss


#4