Skip to content

pagina de simulação de compra de plano, formulãrio com passos feito em React

Notifications You must be signed in to change notification settings

Theuz1nh0/-multi-step-form

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Multi-step form solution

Table of contents

Overview

The challenge

Users should be able to:

  • Complete each step of the sequence
  • 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

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • React - JS library

What I learned

I learned how to use React hooks like "useState"

    const [data, setData] = useState(formTemplate)

I also learned how to create multiple containers with the same component with ".map"

    <div className="step-bar">
      {arrayInformationsStep.map(step => <StepInformations key={step.num} array={step} step={currentStep} />)}
    </div>

Continued development

I intend to keep practicing React and learn new things like Bootstrap and Sass

Author

About

pagina de simulação de compra de plano, formulãrio com passos feito em React

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published