React Age Calculator App

Solution retrospective
Hi everyone!!
I have started learning React and this is my first challenge to practice. Any feedback is welcome so I can improve, I have the feeling that my code and organization is quite messy.
The function I created to calculate age doesn't always return an accurate result and I'm not very clear on how to handle this. I need to give it a spin to improve it, so any ideas would be great.
Thank you very much!!! Best regards
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Noa'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