Syntax Error


#1



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


Oops, try again. There was a problem with your syntax.
SyntaxError: Unexpected token '{'. Parse error.


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")
    }


#2

Looks like you posted this topic twice, and I have already answered it.


#3

whoops sorry but thank you!