I cant figure out whats wrong with my code


#1

var userChoice = prompt("Do you choose rock, paper, or scissors?")
var computerChoice= Math.random()
console.log(computerChoice)
if (computerChoice>0.33) {
computerChoice="rock"
} else if (computerChoice>0.34 && computerChoice<0.66){
computerChoice="paper"
} else {

computerChoice="scissors"

}


#2

First of all, you need to add more detail of what's wrong. What do you not understand? What is the error message? More detail would be helpful. BUT:

FYI: You did > instead of <