Skip to content

rowleks/fe-multi-step-form

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

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

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • Flexbox
  • CSS Grid
  • SCSS
  • Mobile-first workflow
  • TypeScript
  • React - JS library

What I learned

I learnt how to properly use useState hook to store the form states so it can persist across renders

I also learnt how to use the @use method of importing SCSS modules.

I further strenghtened my understanding of react and how to properly structure my project folders

Continued development

I want to continue practicing to improve my skills in React and also learn NextJS to build robust and full-stack applications.

Useful resources

  • React useStateHook Typescript - This is an amazing article which helped me finally understand how useState hooks work in react and how to set types in the useState using generic types in typescript.

Author

Acknowledgments

I'm grateful to frontend mentor for this challenge as it helps build my web development skills further. I also thank google, w3school, MDN web docs, codedamn and other similar sites for their amazing and helpful resources.

About

Solution to Frontend Mentor multi-step-form challenge

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published