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 using HTML, CSS and JS

@ChimiRinzin-HWR

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?

More familiar with HTML, CSS and JavaScript.

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

For something that's supposed to be simple, I faced huge difficulties trying to understand how age should be properly calculated. Also, faced some difficulties trying to animate the changes in the text contents.

Community feedback

MikDra1 6,070

@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 😁😊😉

1

@ChimiRinzin-HWR

Posted

@MikDra1 Thank you for your cool suggestion, I have now implemented the suggestion.

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