Need help on Computer Choice Part Two


#1

Could someone please tell me the mistake in this:

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

It comes up as SyntaxError: Unexpected token {


#2

There is no conditional in an else statement:

} else {

#3

Could you explain what that means?


#4

Never mind I get it now. Thanks for the help!