Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Contact form using optimal useForm React Hook | Tailwind CSS project

@javierdesant

Desktop design screenshot for the Contact form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
2junior
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I'm proud of how the design turned out, especially with the custom colors on all inputs. Initially, I used Grid, but it didn't work out, so I switched to Flexbox. Next time, I'd start with Flexbox from the beginning.

What challenges did you encounter, and how did you overcome them?

One challenge was learning to use the react-hook-form library and tailwindcss-forms while customizing the form style efficiently. Making dynamic radio buttons was particularly tough, but I solved it using the new has-[] class.

What specific areas of your project would you like help with?

I'd appreciate any feedback on improving my code. If you spot anything, please let me know!

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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