How do I declare computer choice


#1



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();
computerChoice


#2

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


#3

Thanks. I appreciate the help


#4

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