Simple Age Calculator App with JavaScript.

Solution retrospective
Hi, This is how I built it, I know there are a lot of things that may not look good, including code optimization. But I want here to add a logic to show an error message on multiple fields if invalid input in multiple fields or all fields are empty. Also if the user inputs valid input then the error message should be removed, without hitting the submit button.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Muhammad Ahmad'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