Design comparison
Solution retrospective
Hey everyone!
I just completed another challenge. 🤘🏽
In this challenge I used react-hook-form
library for data capture and form validation then display error messages based on the type of input error. I also stored the remaining data on a local state since some of the fields on the form are not <input>
fields such as the AM/PM "select input" and number of people.
I then used GSAP for animation as some elements' animations are highly dependent on the changing of states rather than the rendering of each component.
Feedback is always welcome. Please let me know of any issues you may find and/or how I can improve my code :)
Happy coding!
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