Submitted about 1 year ago
age calculator app with vanilla javascript
@Abdullahi-abdiaziz
Design comparison
SolutionDesign
Solution retrospective
that`s age calculator app in js
Community feedback
- @erenymoPosted about 1 year ago
Hi coder π
Congratulations to finish another Frontend Mentor Project!
The design looks very nice.
Rather than design, I found some bugs in your JS Logic to calculate the age.
- As you know, the february can not be 30 days, its value can be maximum 29 ( if it is leap year) or less.
- Except the leap year, you may have some calculation errors. I tried October 20, 2023 and expected the result should be 2 days, but it showed me 6 days. You may need to revise your calculation algorithm.
To reach out more information about leap year algorithm, you can click here!
Have fun and keep coding ππππ
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