Plz help on 5, still getting error!


#1


https://www.codecademy.com/courses/javascript-beginner-en-Bthev-mskY8/1/1?curriculum_id=506324b3a7dffd00020bf661#

I am getting error:
" Did you create function called compare? "

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


#2

check the first argument in your if statement just a little typo should fix the issue


#3

Oopps! Thanks a lot!


#4

no ptoblem , we all do it


#5

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