Submitted 12 months ago
# Responsive Age Calculator App | React | Vanilla CSS
@cancomertpay
Design comparison
SolutionDesign
Solution retrospective
Greetings everyone! Please share your feedback and suggestions for more optimized solutions. Thank you!
Community feedback
- @JJacobPRPosted 12 months ago
Hey,
Nice solution you have here but I found a problem. The leap year is not considered and you can check 29/02 for each year.
My suggestion is that you can create Date object based on year (it will know if it is leap year) and validate properly!
Good Luck!
Marked as helpful1@cancomertpayPosted 12 months ago@JJacobPR Thanks Jacob, I forgat the February. :)
0
Please log in to post a comment
Log in with GitHubJoin 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