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

@mryjybrcia

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


Let me know if there are any areas that I can improve especially in HTML and Javascript.

Community feedback

@Ayoubrabiae

Posted

I've reviewed the preview and your code, and I must say you're doing quite well. However, I've noticed some minor issues that need to be addressed.

Firstly, when I input an incorrect year, it always displays the error message, "You must be in the past." This could be problematic because if I input a date like 100 in years, it would still show the same error message! 😅

Secondly, I've noticed that there's a small issue in your code that allows us to calculate the date for the current day. The result in this case shows as "0 years, 0 days, 0 months." This should probably be fixed as well.

Marked as helpful

0

@mryjybrcia

Posted

@Ayoubrabiae Thank you for your feedback! I'll review the codes again and will take your comments as pointers. 😊

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