Simple


#1

var userChoice = prompt ("Do you choose roock, paper or scissors?");
var computerChoice = Math.random();
console.log("computer choosed: " + computerChoice);

Stuck just from the beggining. can somebody help?

Oops, try again. Did you remember to log computerChoice to the console?

i would be so happy to see an explanation why and how beside the solution. thanks in advance!

https://www.codecademy.com/courses/javascript-beginner-en-Bthev-mskY8/0/3?curriculum_id=506324b3a7dffd00020bf661#


#2

HI this line

console.log("computer choosed: " + computerChoice)

just remove the string ("computer choosed: ") you should only print the number so it should be like that

console.log(computerChoice);

#3

thanks !!! :smile: seems i am imporving a bit my coding skills


#4

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