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 Main

tucecifci 150

@tucecifci

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 am most proud of successfully implementing the age calculation logic and creating an intuitive, user-friendly interface. Ensuring the application is responsive and works well on various devices was a significant achievement. The accuracy of the age calculation in years, months, and days is a highlight. Additionally, I'm proud of how the project demonstrates core JavaScript skills.

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

Throughout the project, I encountered challenges in handling user input validation and ensuring the accuracy of date calculations, especially accounting for leap years and varying month lengths. To overcome these challenges, I extensively researched JavaScript date manipulation methods and implemented robust error-checking mechanisms to handle different edge cases. Additionally, I utilized debugging tools like browser developer consoles to identify and resolve any issues promptly. Regular testing and peer reviews helped ensure the reliability and functionality of the application.

What specific areas of your project would you like help with?

At the moment, I would appreciate assistance with improving the error handling and validation for user input, particularly in scenarios where users might enter invalid or incomplete dates. Additionally, guidance on optimizing the code for performance and efficiency, especially in the age calculation logic, would be beneficial. Lastly, suggestions for enhancing the user experience or adding new features to the application would be greatly appreciated.

Community feedback

@Mahmoud-ElAgamy

Posted

Great job, but when i entered today (21/5/2000) as my birthday, the result was 24 years and 6 days and it must be 24 years only.

Marked as helpful

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