Age calculator made using jQuery

Solution retrospective
I am proud of the way i managed to get the logic of the JavaScript thorugh trial and error. Next time I will try and spend a bit more time thinking my code through.
What challenges did you encounter, and how did you overcome them?I kept on getting negative numbers for the values. I eventually overcome them by checking if the number of the value of user input was higher than the current month day or year. I added 12 then modulo 12.
What specific areas of your project would you like help with?I would like some suggestions on how I could make my code cleaner.
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on HarryS44'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