Tell me what did I did wrong!


#1


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

Oops, try again. There was a problem with your syntax.

. var userChoice = prompt(" rock,paper,scissor");
var computerChoice = Math.random( );
console.log(computerChoice);
if(computerChoice >=0 || computerChoice <=0.33 ){
    return"rock";
}else if(computerChoice >= 0.34 || computerChoice <= 0.66   ){
    return"paper";
}else{
    return"scissors";
}


#2

You are using return statements you need to use console.log();


#3

thanks,for the help.


#4