Skip to content

haquanq-frontendmentor/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.

Solution post Live demo

Table of Contents

🌅 Project Overview

Challenge Requirements

  • 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

Status

Features

  • Accessible multi step form with validations

Accessibility

  • Responsive accross different screen sizes
  • Interactive elements have clear focus indicator

Preview

🌠 Tech Stack and Approach

Built With

  • HTML5 – Semantic structure
  • React – Ease of use, great eco-system
  • TailwindCSS – Utility-first CSS for fast development
  • TypeScript - Interactivity and application logic
  • Vite - Fast development server, production build and easy configuration
  • Eslint - Enforce code consistency

Approach

🍃 Local Development

Prerequisites

Install the following:

  • Git (latest version)
  • Node.js (latest LTS recommended)
  • pnpm (latest version)

Setup

git clone https://github.com/haquanq-frontendmentor/multi-step-form.git
cd multi-step-form
pnpm install

Start Development Server

pnpm dev

🍁 Deployment

Deployed to Github Pages via Github Actions (manually triggered)