Lesson 5 problem, any solution?


#1


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

It keeps telling me this "
Oops, try again. Your compare function does not return 'The result is a tie!' when there is a tie.
", i tried different stuff, but I can't see where is the problem!..Thanks a lot!


#2

check the string again what you should return


#3

OH MY GOD !! I'M learning whole day(my brain is full :D), what a mistake ...... Thank you rcodeman but i'm so ...whoa hahahaha, i'm laughing at myself !!... cheers! SOLVED!


#4

your expression is telling me that how much you tried.but i can surely say you learn alot for this :slight_smile:

anyway cheers! happy coding :slight_smile:


#5

Right now I just flew through lesson 6, thank you, happy coding to you to! :slight_smile:

My goal is front end web development :slight_smile:


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.