mardi 15 septembre 2020

Error message in if statement doesn't show

I'm building a horoscope generator and for some reason, all if/else statements to determine the astrological sign work but the last one which is the 'error' that should return invalid input, whenever the day is >= 32 || day === 0 doesn't show the message.

Here's the code: https://playcode.io/671371/

Aucun commentaire:

Enregistrer un commentaire