Design comparison
SolutionDesign
Community feedback
- @dan9hPosted 9 months ago
Your solutions looks great!
There's just a bit of a problem with the validation. It should not accept a valid future date.
Ex:
Current Date: 15-2-2024 Input Date: 16-2-2024 (just a day ahead but still valid) Result: -1 years
I'm pretty confident you can fix it.
Happy Coding!
Marked as helpful0
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