7. what if choice1 is paper? code problem


#1


Can someone tell me what is wrong with this code. Thank you.

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


#2

please post your full code, thank you


#3

It's okay I got it. I just needed another curly brackets at the bottom. Thank you.


#4