Error: expected ;


#1



https://www.codecademy.com/courses/javascript-beginner-en-Bthev-mskY8/0/4?curriculum_id=506324b3a7dffd00020bf661


The website is telling me that it expects a semicolon. Where did I leave one out?


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


#2

Hi the else statement doesn't take any condition


#3

Never mind, I realized I tried to put a condition on an else statement :slight_smile: