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

P

@beqarion

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


Feedback is welcome!

Community feedback

@Ayoubrabiae

Posted

Hello, Bekar,

I've had a look at the preview of your app, and I can see that you're doing fantastic work, especially with the animations. However, there are two bugs that need to be addressed:

Firstly, users are able to enter a negative number in the year input. It would be a good idea to implement a simple check to ensure that this input only accepts positive numbers.

Secondly, there's an issue where users can add a day in the future. For instance, if they enter the current year and month, they should only be able to input the current day or a date in the past. In your app, it currently allows them to select a day beyond the current date.

If you need any assistance with these issues, I'm always here to help!

Marked as helpful

1

P

@beqarion

Posted

@Ayoubrabiae I appreciate your valuable feedback and the time you've taken to review my work! I have addressed the bug you mentioned, and I believe it's been resolved.

Regarding the ability to enter a negative year, I intentionally left that functionality in place to accommodate users who might want to calculate dates in BC (Before Christ) era. It's great to have some flexibility in the app for different use cases.

Once again, thank you so much for your input and your offer of assistance!

1

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