Computer choice: Part 1


#1

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

Why is this not working???


#2

This code is fine, try refreshing the page or changing browser.


#3

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