Lesson 6 Rock and paper Some one Pl help


#1

<PLEASE USE THIS TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>

<In what way does your code behave incorrectly? Include ALL error messages.>

<What do you expect to happen instead?>
Here is the code .The Error says syntax error.

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

};


Replace this line with your code. Do not remove the backticks.


#2

You have an extra curly bracket


#3

By removing an extra curly bracket the lesson is not passing as the remark says syntax error.
Pl advise what else to be done.


#4

Can you paste in your full code for this lesson