7 . What if choice1 is paper?


#1

hi to all give me some help plssssssssss..:sob::sob::sob::cry::cry::sob::sob:.. i have a problem in " 7. What if choice1 is paper? ".. it is so very hard..:sob::sob::sob:.. the problem is when i always click the " save and submit code ".. there is always a message " Oops, try again. There was a problem with your syntax. "..:sob::sob::sob:

https://www.codecademy.com/courses/javascript-beginner-en-Bthev-mskY8/1/3?curriculum_id=506324b3a7dffd00020bf661#

In what way does your code behave incorrectly? " Oops, try again. There was a problem with your syntax. "..


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


#2

can we see your full code?


#3

I ' ve already solve my problem..:slight_smile:.. In line 28 there was a close curly brace i deleted it and i click the " save and submit code ".. And it is ok already..:slight_smile: