Age Calculator App

Solution retrospective
Designing correctly the UI and adjusting the logic.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @Prince95-cmd
Hey there, your UI is good, but I think there are several issues with the interaction. The calculator is suppose to throw an error if the day is more than the days in a particular month, and if the month is more than number 12, and also after calculating a particular age , re-entering a different birthdate, the calculator goes crazy and starts counting till infinity. Another thing I discovered is when focused on the input field the calculate button is supposed to change to black, but you didn't add that functionality. You could work on that as well.
Marked as helpful - @KasiaKaz14
Hey, if I understand the task correctly - the calculator counts how old you are and displays the age on the screen after adding a date. When I entered my date of birth I received a wrong result. I did it a few times, and each time the app gave me another, wrong result. After every try I had to refresh the site because when I entered a date after date - the app was breaking and started counting like a crazy
Marked as helpful
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