Still 4/6 is not running


#1

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";

}

console.log(computerChoice);


#2

"Else" does not like conditions. "Else" takes up everything that was not checked before. :relaxed:


#3

thanks cssblaster73027, it worked.