What am I missing?


#1

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


#2

There should be no requirement in an else statement: