Correct code no result


#1



My code is correct but the pop up bar says "Did you remember to log computerChoice to the console."


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


#2

We don't see it in the code.

console.log(computerChoice);

#3

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