.5 Both choices are the same!


#1

on on part 5 called both choices are the same I first put in code that was almost identical to to this then I copied and pasted from the hint to get this

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

giving me the error
Oops, try again. Your compare function does not return 'The result is a tie!' when there is a tie.


#2

never mind I forgot the ! at the end of the result is a tie