{"id":19711821,"url":"https://github.com/lucajahnen/multi-step-form","last_synced_at":"2026-05-08T00:45:48.538Z","repository":{"id":242341242,"uuid":"806993644","full_name":"LucaJahnen/multi-step-form","owner":"LucaJahnen","description":"A multi-step-form challenge provided by frontendmentor.io","archived":false,"fork":false,"pushed_at":"2024-07-13T13:57:43.000Z","size":636,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T19:56:53.448Z","etag":null,"topics":["form-validation","multi-step-form","reactjs","styled-components"],"latest_commit_sha":null,"homepage":"https://multi-step-form27.netlify.app","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LucaJahnen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-05-28T09:36:16.000Z","updated_at":"2024-07-13T13:57:46.000Z","dependencies_parsed_at":"2024-06-15T12:48:09.142Z","dependency_job_id":"9bf7a2fe-1bc2-4207-a844-74eae276d601","html_url":"https://github.com/LucaJahnen/multi-step-form","commit_stats":null,"previous_names":["lucajahnen/multi-step-form"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LucaJahnen/multi-step-form","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaJahnen%2Fmulti-step-form","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaJahnen%2Fmulti-step-form/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaJahnen%2Fmulti-step-form/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaJahnen%2Fmulti-step-form/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LucaJahnen","download_url":"https://codeload.github.com/LucaJahnen/multi-step-form/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LucaJahnen%2Fmulti-step-form/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259364498,"owners_count":22846492,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["form-validation","multi-step-form","reactjs","styled-components"],"created_at":"2024-11-11T22:14:17.199Z","updated_at":"2026-05-08T00:45:43.506Z","avatar_url":"https://github.com/LucaJahnen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Frontend Mentor - Multi-step form solution\r\n\r\nThis is a solution to the [Multi-step form challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/multistep-form-YVAnSdqQBJ). Frontend Mentor challenges help you improve your coding skills by building realistic projects. \r\n\r\n## Table of contents\r\n\r\n- [Overview](#overview)\r\n  - [The challenge](#the-challenge)\r\n  - [Screenshot](#screenshot)\r\n  - [Links](#links)\r\n- [My process](#my-process)\r\n  - [Built with](#built-with)\r\n  - [What I learned](#what-i-learned)\r\n  - [Continued development](#continued-development)\r\n  - [Useful resources](#useful-resources)\r\n- [Author](#author)\r\n- [Acknowledgments](#acknowledgments)\r\n\r\n## Overview\r\n\r\n### The challenge\r\n\r\nUsers should be able to:\r\n\r\n- Complete each step of the sequence\r\n- Go back to a previous step to update their selections\r\n- See a summary of their selections on the final step and confirm their order\r\n- View the optimal layout for the interface depending on their device's screen size\r\n- See hover and focus states for all interactive elements on the page\r\n- Receive form validation messages if:\r\n  - A field has been missed\r\n  - The email address is not formatted correctly\r\n  - A step is submitted, but no selection has been made\r\n\r\n### Screenshot\r\n\r\n#### Scrennshot for desktop \r\n![](./screenshot-desktop.png)\r\n\r\n#### Screenshot for mobile\r\n![](./screenshot-mobile.png)\r\n\r\n### Links\r\n\r\n- Solution URL: [View solution on Frontendmentor](https://www.frontendmentor.io/solutions/react-multi-step-form-ua6nbESEzN)\r\n- Live Site URL: [View Live Site](https://multi-step-form27.netlify.app)\r\n\r\n## My process\r\n\r\n### Built with\r\n\r\n- Semantic HTML5 markup\r\n- CSS variables\r\n- Flexbox\r\n- CSS Grid\r\n- Mobile-first workflow\r\n- [React](https://reactjs.org/) - JS library\r\n- [Styled Components](https://styled-components.com/) - For styles\r\n\r\n### What I learned\r\n\r\nI created some reusable components, e. g. the Button component. In my opinion reusable components make working on these kind of projects much easier because the design is always the same.\r\n\r\n```js\r\nimport { HeadingElement } from \"./Heading.elements\"\r\n\r\nconst Heading = ({ children }) =\u003e {\r\n  return (\r\n    \u003cHeadingElement\u003e{children}\u003c/HeadingElement\u003e\r\n  )\r\n}\r\n\r\nexport default Heading\r\n```\r\n\r\n\r\n### Continued development\r\n\r\nConcerning programming I now want to start learning [TypeScript](https://typescriptlang.org) and I think I first use it without ReactJS but later on I want to build it with ReactJS to build larger, more interactive applications. Furthermore, I might consider learning how to design websites because I think it will be fun and it might improve my frontend developing skills.\r\n\r\n### Useful resources\r\n\r\n- [Form Validation](https://leanylabs.com/blog/form-validation-in-react/) - After a while I got stuck when trying to implement form validation. I was not quite sure how to distinguish between two states: the input field is empty or the data is invalid. This article was really handy.\r\n- [Styled components docs](https://styled-components.com/docs/api) - First I had multiple errors telling me that I should not pass props concerning styling the way I would do it with props to be displayed.\r\n- [AirBnb React Style Guide](https://github.com/airbnb/javascript/tree/master/react) - To improve code readability and make this project easier to maintain I had a look at this style guide.\r\n\r\n## Author\r\n\r\n- Frontend Mentor - [@LucaJahnen](https://www.frontendmentor.io/profile/LucaJahnen)\r\n- Github - [@LucaJahnen](https://github.com/LucaJahnen)\r\n\r\n## Acknowledgments\r\n\r\nTo get an idea of what I am going to build I first looked for youtube videos. After a while I found this [video](https://www.youtube.com/watch?v=uDCBSnWkuH0\u0026t=511s) by [Web Dev Simplified](https://www.youtube.com/@WebDevSimplified). I did not watch the whole video but it helped me to better understand what I wanted to build.\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucajahnen%2Fmulti-step-form","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flucajahnen%2Fmulti-step-form","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flucajahnen%2Fmulti-step-form/lists"}