Both Choices are the same, error in syntax


#1


Oops, try again. Did you create a function called compare?


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

the code is exactly as the Hint, but still getting this error message


#2

you spelt choice2 wrong


#3

shame on me.

how am i gonna deal with undreds of line of code?:slight_smile:


#4

did you get everything figured out?
I know sometimes it's annoying when you get messed up because of typos, it happens to all of us, :slight_smile:


#5

yes, everything figured out.

i read it over and over about 10 times, and didn't see it :slight_smile:

thank you


#6

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