Computer choice, part 2... I'm completely stuck!


#1

Here is my cut and paste. What is wrong?

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


#2

you don't need the computerChoice === "scissors"; and it needs to console.log scissors wins i think...


#3

no semicolons after conditions:

(computerChoice <= 0.66); {

#4

I think the syntax should be:
computerChoice = "rock";
computerChoice = "scissors";
computerChoice = "paper";

Not:
computerChoice === "scissors"

Not:
console.log("scissors")


#5

that works! Thank you!