Responsive age calculator app using react, framer-motion, tailwindcss

Solution retrospective
What I found difficult when developing this app was calculating the age and the error states. I am also unsure if there are still bugs, but if ever you found any please do comment it. One area I am not sure in my code is the animation part in lines 105-114 and 120-129. What I did here is using setTimeout() to delay the setState and the animation, that is what I did there to animate it and I am also not sure if this the optimal way of doing it. That would be all thank you!
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Brian Vitualla'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