/birthday-palindrome

This site allows you to check whether your birthdate is a palindrome or not. If not, then it displays the nearest palindrome date and by how many days user missed it.

Primary LanguageJavaScript

Birthday Palindrome

This site allows you to check whether your birthdate is a palindrome or not. If not, then it displays the nearest palindrome date and by how many days user missed it.

Live demo of the application: https://birthday-palindrome-7.netlify.app/


##Functioning

  1. User enters their birthdate.
  2. The birthdate is checked in 4 formats: mm-dd-yyyy, dd-mm-yyyy, mm-dd-yy, and yyyy-mm-dd to find whether it is a palindrome or not.
  3. The application returns "Yayy!... it's a palindromešŸ„³šŸ„³" if the birthdate is a palindrome or if the user's birth date is not a palindrome, the application finds the previous or next nearest palindromic date nearest to the birthday and displays the user by how many days they missed it.