Computer Choice: Part 1 Rock, Paper, Scissors - SOLVED


Not sure what is wrong here.
Error Message;
_Oops, try again. Did you remember to log computerChoice to the console?_

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


Updated code ;

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

var computerChoice = Math.random();


Resolved. Wasn't reading correctly - feel free to delete post!


Please mark this post as solved then.


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