I have no idea whats wrong with my syntax


#1

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


#2
// ...
else if (computerChoice < 0.67){
    computerChoice = "paper";
} else {
    computerChoice = "scissors";
}

Notice that else has no conditional, being the default clause. It can only ever have a code block.


#3

Also rethink your condition for the paper case. If anything below 0.34 should be rock and anything above 0.33 should be "paper" then there is an overlap and nothing left for scissors.