Computer Choice: Part 2


#1

This is my code
var userChoice = prompt("Do you choese 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 = "scissors";
console.log("ComputerChoice:" + computerChoice);

i dont know what i did wrong
Someone please help me


#2

Nevermind i figured out the problem i did not close the else