Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

AGE-CALCULATOR-APP

Jorge-234 110

@Jorge-234

Desktop design screenshot for the Age calculator app coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

I struggle a lot in the beginning while calculating years, eras to create my age calculator app. After debugging the logic and trying different methods, I solved a lot of problems and at this moment core functionality works fine. Nevertheless, there are a few remaining minor mistakes that we still need to work on polishing for this calculation is perfectly correct and process of all the edge cases in the right way

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

The negative date issue, which i later overcome by the help of a colleague

Community feedback

MikDra1 5,950

@MikDra1

Posted

Well done,

One thing that could be improved is that when there is one year it is displayed 1years and it should be 1year. The same applies to months and days. Try to sort out this problem with template literal and ternery operator 😉.

Hope you found this comment helpful 💗💗💗

Good job and keep going 😁😊😉

0

Jorge-234 110

@Jorge-234

Posted

@MikDra1 Just taking note of that Thank you

0

Please log in to post a comment

Log in with GitHub
Discord logo

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