Design comparison
SolutionDesign
Solution retrospective
Any correction is welcomed
Community feedback
- @AzzumarithmPosted over 1 year ago
Hey congratulations on completing this project.
There're some issues that you need to check out.
- It doesn't work for leap years.
- The arrow icon doesn't appear
- The year can take negative number as input
The condition for checking leap years is birthYear % 4 === 0 && birthYear % 100 !== 0) || birthYear % 400 === 0
1
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