Submitted 9 months ago
Solution with input validations and output animation
@memominguez
Design comparison
SolutionDesign
Solution retrospective
A compact solution for checking the validity of days/month combination. Chat GPT provided ideas. Sometimes , dilemma arises regarding days elapsed since the end of the previous month. Some convention adopted, as explained on top of the script.js. The outputs are cleared by an onfocus() event. This makes sure the results are from the latest calculation.
Community feedback
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