Both Choices are the same, error in syntax


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


you spelt choice2 wrong


shame on me.

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


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:


yes, everything figured out.

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

thank you


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