Computerchoice: Part 2


#1

4.Build Rock, paper, scissors
Computerchoice: Part 2

It give me an unexpected identifier message. I'm just trying to understand where I went wrong.

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

#2

Hi this line

if (computerChoice is =< 0.34)

remove the is after the computerChoice


#3

Thank you so much. What a moronic mistake I made! I appreciate the help!