5. Both choices are the same - Build rock, paper, scissors


// What1s wrong here guys? Plz help. I got the message: Oops, try again. Your compare function does not return 'The result is a tie!' when there is a tie.

var compare = function (choice1, choice2) {
if (choice1 === choice2) {
return "The result is tie!";
compare (userChoice, comnputerChoice)


Instead of returning "This result is a tie!", your function is returning, "This result is tie!" because you have forgot to put "a". Put this and your code will be fixed...

Barry Allen