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

Responsive Multi-Step Form With TypeScript, React, Framer and Zustand.

@dylan-dot-c

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?

This is my first time officially using both Zustand and Framer Motion so I would like so insights to how I handled the global state and how can I make it better.

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

Global State Management and Form Validations.

I solved the state problem with Zustand since it was fun and easy to use.

For form validations I was thinking about React Hook form but didnt want to add more complexity.

Another problem I had was validating the form before moving onto the next step. The form wasnt like the normal forms where you have a submit button to check, so I did an interceptor function(Thats what I call it but basically a wrapper) around the increment function so that before it moves on to the next step it validates the form and only when its correct it will go on to the next one.

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

Global State Management and better structure of files and components

Community feedback

Atatra 170

@Atatra

Posted

I really love how it turned out!

0

@dylan-dot-c

Posted

@Atatra thanks! This was fun to work on back then.

1

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