Both choices are the same! 5/9


#1

where is my problem???
tnx

compare = function(choice1, choice2)
{
    if (choice1 === choice2) {
        return "The result is a tie!";
    }
} delete this curly bracket

else if (choice1 === "rock") { 
    if (choice2 === "scissors") { 
        return "rock wins";
    } 
    else { 
        return "paper wins";
    } 
}
add a curly bracket here

#2

What is your question if you already added quotes on how to solve your problem?