Help on # 7 of Buils"Rock, Paper, Scissor"


#1

Hello,
I am having some difficulties solving this problem.
I am not expecting a full answer to this.
I just need some help.
Thank you so much to all who has contributed!


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


#2

Hi try to put the if condition around ()

else if (condition) {
   if (condition) {

   }
   else {

   }
}

#3

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

There seems to be a syntax error on keyword else. But I'm still not sure what it is.