4. Computer choice part 2 ; What's wrong?


#1

I'm in the exercise 4. Computer choice part 2. It gives me : SyntaxError: Unexpected token else
What's wrong? Please help!

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

var computerChoice = Math.random();

if (computerChoice <= 0.34) {
    computerChoice = "rock";
}
if else (computerChoice > 0.66) {
    computerChoice = "paper";
}
else {
    computerChoice = "scissors";
}
    console.log ("Computer's choice:" + computerChoice);

#2

Hi this part

if else (computerChoice > 0.66) {
    computerChoice = "paper";
}

you wrote if else instead of else if


#3

...... XD Thank you !