Skip to content
  • Learning paths
  • Challenges
  • Solutions
  • Articles
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted 8 months ago

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

react, tailwind-css, zod, vite
Javier de Santiago•110
@javierdesant
A solution to the Multi-step form challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

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!

Code
Select a file

Please log in to post a comment

Log in with GitHub

Community feedback

  • Ibrahim Mohammed•640
    @MohammedOnGit
    Posted 8 months ago

    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!

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
Frontend Mentor logo

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub

Oops! 😬

You need to be logged in before you can do that.

Log in with GitHub