Build "Rock, Paper, Scissors" 5/9


#1

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

I made the code like below and it keeps giving me the error "Oops, try again. Your compare function does not return 'The result is a tie!' when there is a tie. "

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


#2

the string returned needs to be an exact match, you miss an exclamation mark at the end of your sentence


#3

Thank you very much!


#4