Rock Paper Scissors



everytime i try to run my code i get a Syntax error.

It says it misses an ';'

I Keep searching but can't find it.

Please help me find my mistake.

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

var computerChoice = Math.random();

if (computerChoice < 0.33){
computerChoice = "rock";
else if (computerChoice <= 0.66){
computerChoice = "paper";
else (computerChoice <= 1){
computerChoice = "scissors";



else doesn't have a condition (think about it)


THANK YOU! That was exactly the problem!