How do I declare computer choice


The program tells me to create a variable, computerChoice, but every time I declare it, it tells me I haven't logged it into the console.

Replace this line with your code. 
var userChoice = prompt("Do you choose rock, paper or scissors?");
var computerChoice = Math.random();


Remember the function we use to show stuff in the console...?


Thanks. I appreciate the help


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