Rock, paper, scissors 3/9


#1

Hi there!
I´m working on the step 3
Mi code is:

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

And the system returns me this message
Oops, try again. Did you remember to log computerChoice to the console?

Any clue?

Thanks! and best regards from Argentina!


#2

The problem is this line. Here you don't call console.log like you would do by

console.log(value);

but you overwrite it with the value inside of computerChoice. So in order to make it run you might even need to refresh the page to reset console.log.


#3

@fabianfeld i think console.log(computerChoice) should be use


#4

Thanks a lot friends, i think i have problems about when use diferent signs like ; = () i´m still experimenting problems. Hope to learn more!
Thanks and best regards from Argentina!


#5

@fabianfeld carry on, do lessons-learn u will get the grip ultimately..

happy coding