Design comparison
Community feedback
- @PeeroDembaPosted about 1 year ago
Many bugs found
The error messages are not properly displaying when they should
Marked as helpful0@bbeeeeennPosted about 1 year ago@PeeroDemba I see no bugs.. you might be talking about the "Must be a valid date" error message were the month and year doesn't display error message below them because it is just what the design instructions said
0@PeeroDembaPosted about 1 year ago@bbeeeeenn
Nope....That was not what the design instructions meant at all The only place the "not a valid date" error message is expected to show, is places like 30th February(2), 2023 or 31st September(9), 2018. These are all valid days, months and years respectively, but they aren't valid dates. February only has 28 days and 29 days on a leap year and September is a 30days month. I hope you get my point.
Try inputting any valid day (between 1 and 31) and year (between 0 and 2023) into the form, and then input 0 into the month and you get a bug. The error message is meant to show "must be a valid month" but instead it shows "must be a valid date".
Also, try putting 12 as the day, 13 as the month and 2023 as the year, the error message is supposed to be "must be a valid month" but instead it shows "must be in the past"
Also, try putting 32 as the day, 13 as the month and 2023 as the year, the error message is supposed to show "must be a valid day" and "must be a valid month" under the respective input fields, but instead it shows "must be in the past"
I could go on and on :)
Marked as helpful0@bbeeeeennPosted about 1 year ago@PeeroDemba ohh I see! Though at least it's just the error message that has to be perfected, I didn't noticed this small bugs at all while making this challenge. I thought I spent enough time seeking for a bugs.. Thank you, next time I will do my best to think deeply into my projects
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