Computer Choice Part 1


#1

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

**plz help me fighure out whats wrng **\\\\\\\\\\\\


Rock Paper Scissors? Syntax Error. Computer Choice Part 1
#2

var = needs to be removed, should be var userChoice = .........

also missing semicolon after console.log(computerChoice);


#3

thx man but i was already done with this 1. still thx a ton:slight_smile:slight_smile:


#4

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