What if choice 1 is paper(Solved)


#1



Help me(unexpected token else
else if ( choice1 = "paper") {
if(choice2 === "rock") {
return "paper wins";
}
else {
return "scissors wins";
}


Replace this line with your code.


#2

Choice 1 should not = "paper". Also when you paste your code in, read what it says in the text box so you paste it with formatting next time plz :smiley:


#3

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