Does not return the result is a tie 5


#1

var compare = function (choice1,choice2) {
if (choice1 === choice2) {
return "the result is a tie";
}}


#2

You need a ! at the end of the message.


#3

added an exclamation mark but i won't go through still
it tells me that it wont return the message
var compare = function (choice1,choice2) {
if (choice1 === choice2) {
return "the result is a tie!";
}}


#4

It might be that the "t" in your message is not capitalized... Try using this:

return "The result is a tie!";

#5

yep that got it working thank you!