Dont understand 3/9


#1

idk what im doing wrong

var computerChoice = Math.random();


#2

Nothing wrong with it.


#3

I'm having the same problem as well.


#4

what's the error message ? Or what seems not to work ?


#5

can't figure it out not working for me either


#6

you need to add

console.log(computerChoice);

below it


#7

arobotham is right, for the exercice 3/9 your code should look like this :

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

console.log(computerChoice);