What if choice1 is paper


The only error message I get is syntax error on the first line "else if(choice1 === "paper"). Please help.

else if(choice1 === "paper") {

    if(choice2 === "rock") {
        return "paper wins";
    else {
        return "scissors wins";


Nothing wrong with this section of code, could you please copy and paste all of your code.


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