Frontend Mentor - Multi-step form solution

This is a solution to the Multi-step form challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Note: Delete this note and update the table of contents based on what sections you keep.

Overview

The challenge

Users should be able to:

  • Complete each step of the sequence
  • Go back to a previous step to update their selections
  • See a summary of their selections on the final step and confirm their order
  • View the optimal layout for the interface depending on their device's screen size
  • See hover and focus states for all interactive elements on the page
  • Receive form validation messages if:
    • A field has been missed
    • The email address is not formatted correctly
    • A step is submitted, but no selection has been made

Links

My process

Built with

  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Vite
  • React - JS library
  • React Context API
  • Zod
  • BEM CSS class naming convention

What I learned

Well this was a good challenge as I was challenging to make it in a well organized way, to ensure code reusability and to avoid data inconsistency.

I did got the chance to practice react more with this project and I also used zod for validation.Overall the main thing I practiced during making this is how to organize code and deal with a lot of components.

Author