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

Multi-Step form with Zod validation | React Hook Form | Tailwind CSS

@javierdesant

Desktop design screenshot for the Multi-step form coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
4advanced
View challenge

Design comparison


SolutionDesign

Solution retrospective


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

I happy with the overall final design. However, I’m considering using some Headless UI components next time to streamline the styling and make it more flexible. That said, just finishing this project feels like a major accomplishment on its own, and I’m happy with how it turned out!

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

Managing the state of the multistep form was a challenge, but I was able to address it by implementing a form provider. I also made the decision to replace the phone input with an imported component, as I wasn’t sure how to properly handle validation using Zod without it... what do you think?

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

I had some trouble implementing the footer navigation bar for mobile screens, and it still isn’t working as expected. If anyone has tips or advice on this issue (or any other part of my code, really) feel free to comment and share your feedback!

Community feedback

@Aggressive-Mohammed

Posted

Hello Javier de Santiago!

Congratulations on completing the challenge. You did awesome! You nearly got a pixel-perfect solution. Your HTML structure is well-organized and demonstrates a solid understanding of semantic elements. However, here is a recommendation and comments in terms of web development best practices: Meta Tags: Add a <meta name="description" content="Description of the multi-step form"> tag to improve SEO. A clear description helps with search visibility.

Overall, your code is well-structured for a React-based application. Incorporating this suggestion can help enhance accessibility. Great job!

0

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