var userChoice = prompt("Do you choose rock, paper or scissors?"); var computerChoice = Math.random(); if (computerChoice <= 0.33) computerChoice = "rock" else if (computerChoice => 0.33 and <= 0.66) computerChoice = "paper" else computerChoice = "scissors"
What is wrong with this? I have been racking my brain for hours.
Error message near the "save & submit code" button:'Oops, try again. There was a problem with your syntax.'
On the console log: 'SyntaxError: Unexpected identifier'
Please help me!