Age Calculator App

Solution retrospective
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.
Please log in to post a comment
Log in with GitHubCommunity 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