[SOLVED] Oops, try again. Did you change a computerChoice between 0.67 and 1 to 'scissors'?


The site wont accept my approach with the error message in the title.
What am i doing wrong?

var userChoice = prompt("Do you choose rock, paper or scissor?");
var computerChoice = Math.random();
if (computerChoice <= 0.33) {
    computerChoice = "rock";
else if (computerChoice <= 0.66) {
    computerChoice = "paper";
else {
    computerChoice = "scissor";


What happens if you change this to 0.67?


[expletive] i already found the problem i wrote "scissor" instead of "scissors" :dizzy_face:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.