Design comparison
SolutionDesign
Community feedback
- @arifaisal123Posted over 1 year ago
Good job on completing the challenge! I am adding just a bug here to improve your code further. Currently whenever I input an invalid day (suppose 40), it prompts "must be a valid day", "must be a valid month", and "must be in the past" altogether instead of one. I think you may want to check your javascript logic here.
Marked as helpful1
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