What is wrong?


var userChoice = prompt("Do you choose rock, paper or scissors?")
console.log("Your choice:" + " " +userChoice)
var computerChoice = Math.random(0,1);
if(computerChoice >=0 and <=0.33) {
computerChoice = "rock";
else if(computerChoice >=0.34 and <=0.66){
computerChoice = "paper";
computerChoice = "scissors";
console.log("Computer choice:" +" " +computerChoice)


I'm new to this myself but I'm going through it as well. I would say that you don't need to fulfill the description word for word.

(computerChoice <=0.33) is sufficient, it's assumed that it will be >=0 in this case. The same applies to the subsequent one where you should only need (computerChoice <=0.66)

Hope that helps and fixes it @sockstendel