Lesson 6 Rock and paper Some one Pl help


#1


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