7. what if choice1 is paper? code problem


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

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


please post your full code, thank you


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