There's a mistake in the "Hint" box for "What if choice 1 is rock?"


#1

The example doesn't close off the 'else if' statement properly.

if(choice1 === choice2) {
return "The result is a tie";
}

else if(choice1 === "rock") {

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

#2

Hi look well the example.