Thanks for adding the lesson url. Tested your code, it is technically working. But try to follow the lesson’s instruction, look at the hint, follow the order of the conditions according to the lesson, copied from the hint:
And just for the sake of passing the lesson, follow their recommendation of using === instead of == (for now when you’re still learning the concepts), there is a significant difference in using === vs == for JavaScript, the usage is not significant in this lesson but for more information you can read here:
Try change what I mentioned above, and hopefully it will let you pass the lesson. Come back if you still facing problem, with the updated codes. Cheers