Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 1 year ago

Age Calculator App

accessibility, jquery
Akerejola Damilola•80
@RezoMoney
A solution to the Age calculator app challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


What are you most proud of, and what would you do differently next time?

I am really happy that i eventually was able to make this work. Because i spent lot of days on it and eventually did it.

What challenges did you encounter, and how did you overcome them?

well one of the challenges I encountered was when I was trying to let it give the error messages, I was really having difficulty getting the error messages to act independently of the year moths and age. Didn't really take long on it but at first had difficulty on that. Another aspect I had difficulty in was trying to get the age in days and in months to give the exact age in days and in month, which I eventually did by, getting the total age in days then divided by 366 to get the age in years without using the Math.() function, then subtracted the age in years using the math.floor() which rounded down the former, then the answer from both, multiplied by 12 to get the age in months and also multiplied by 366 to get the age in days.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Akerejola Damilola's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License