4. Build "Rock, Paper, Scissors"


#1

I can not find what I do wrong in exercise 4. Please someone help me.

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

if (computerChoise =< 0.33) {
    computerChoise = "rock";
} else if (computerChoise =< 0.67) {
    computerChoise ="paper";
} else {
    computerChoise = "scissors";
}

console.log(userChoice)


#2

lesser then or equal to is <=, not =<

and check your spelling


#3

Thanks! It worked now


#4