Skip to content

jukha/react-multi-step-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

Screenshot

Desktop

Mobile

Links

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Desktop-first workflow
  • React - JS library
  • Formik - React Form library
  • [CSS Modules] - For styles

Installation

To run this project locally, follow these steps:

  1. Clone the repository to your local machine.
  2. Navigate to the project directory using the terminal or command prompt.
  3. Install the necessary dependencies by running the command:
npm install
  1. Start the development server:
npm run dev

The project will now be accessible at http://localhost:5173/.