Skip to content
  • Unlock Pro
  • Log in with GitHub
Solution
Submitted over 2 years ago

Multi-Step Form with React and DOM Manipulation

react, vite
P
Cassidy•160
@CMac450
A solution to the Multi-step form challenge
View live sitePreview (opens in new tab)View codeCode (opens in new tab)

Solution retrospective


This one is still a WIP, but I have the main functioning desktop portion. My next task is working on the responsiveness/mobile version.

If you have any comments or questions, feel free to shoot them my way.

I utilized local storage to hold two objects for the add-ons(name and price) and the plan details(plan name, plan price, and billing type). My first thought was to use state variables set in the parent component(App.jsx) and pass it between the children components, but I decided that in a real world scenario, it would be more likely to use session storage to hold info like this in case a browser or tab closes suddenly.

Code
Loading...

Please log in to post a comment

Log in with GitHub

Community feedback

No feedback yet. Be the first to give feedback on Cassidy's solution.

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord

Stay up to datewith new challenges, featured solutions, selected articles, and our latest news

Frontend Mentor

  • Unlock Pro
  • Contact us
  • FAQs
  • Become a partner
  • Use cases

Explore

  • Learning paths
  • Challenges
  • Solutions
  • Articles

Community

  • Discord
  • Guidelines

For companies

  • Hire developers
  • Train developers
© Frontend Mentor 2019 - 2025
  • Terms
  • Cookie Policy
  • Privacy Policy
  • License