Responsive Age Calculator App using CSS Flexbox, having last date

Solution retrospective
I was successfully able to disable the button in case of future year, or future month in same year, or future day in same month of same year, but when it comes to detecting an incorrect month input like month > 12 or incorrect day input like day > 31, it gives the correct error message, but I am not able disable the button in the page. Can anyone who reviews my code tell me what I am doing wrong? Thank you.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Musaddique Ali's solution.
Join 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