Skip to content

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.

Notifications You must be signed in to change notification settings

Catevika/FrontendMentor_Multi-step-form-by-Catevika

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

Links

My process

Built with

  • React JSX
  • CSS Flexbox & Grid
  • Desktop-first workflow
  • Vite + React plugin
  • React-routeur-dom V6 - Client side routing for React

What I learned

  • React Context: state management
  • CSS checkbox toggle: ssee Plan page
  • CSS Custom checkbox: see Addons page
  • Session storage for persistent states during session only: see Summary page
  • React-routeur-dom Outlet: see Summary - Main replaced by Summary - Thanks after confirmation

Useful resources

CSS checkbox toggle

Author

About

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.

Topics

Resources

Stars

Watchers

Forks