Computer choice


Hey guys,

I can't seem to get past Computer choice: Part 1. Here is my code

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

It asks me if i remember to log comupterChoice to the console, but I think i did that, but I seem to be wrong.

Any suggestions?
Thanks in advance


set Math.random() to computerChoice and then console.log(computerChoice)


Thank you very much.
makes more sense now


No worries, anytime.


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