
Submitted about 1 year ago
Age Calculator App using Next.js and Tailwind
#next#tailwind-css
@deedeedev
Design comparison
SolutionDesign
Solution retrospective
I used zod to validate the input data and the useFormState hook to manage the form state. I also tried the new javascript Temporal api (via a polyfill) to calculate the result, it's very cool!
Any suggestion on how to improve the code is welcome...
Community feedback
Please log in to post a comment
Log in with GitHubJoin 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