An open API service indexing awesome lists of open source software.

https://github.com/oleksandra-o/mars-visit-application

A multi-stage application form for aspiring Mars visitors, collecting personal, travel, and health information.
https://github.com/oleksandra-o/mars-visit-application

bootstrap form-validation frontend html-css-javascript reactjs responsive-web-design

Last synced: about 2 months ago
JSON representation

A multi-stage application form for aspiring Mars visitors, collecting personal, travel, and health information.

Awesome Lists containing this project

README

          

Overview

This project is a multi-stage application form for individuals interested in visiting Mars. The form collects various details and preferences from applicants across three stages:

Personal Information
Travel Preferences
Health and Safety

This project is designed to be visually appealing, responsive, and easy to navigate. It includes data validation to ensure the accuracy and completeness of the information provided by the user.

Live Demo
You can view the live version of the application here: https://idyllic-semolina-35deb5.netlify.app/

Project Structure

The application is structured as a React project with the following main components:

PersonalInfo.js: Handles the Personal Information stage.
TravelPreferences.js: Manages the Travel Preferences stage.
HealthSafety.js: Handles the Health and Safety stage.
Header.js: Displays the header of the application.
Footer.js: Displays the footer, which is sticky and remains at the bottom of the page.
CustomModal.js: A custom modal used to display the success message after form submission.

Key Features:

Form Validation: Ensures all required fields are filled out correctly, including email, phone, and date formats.
Navigation: Users can navigate back and forth between the stages to review or edit their information.
Responsive Design: The form is styled with a Mars-themed color scheme and is responsive to various screen sizes.
Custom Modal: A custom modal is displayed upon successful submission of the form.
Bootstrap Integration: Bootstrap was used to style buttons, forms, and other components for a consistent and responsive UI.

To run this project locally, follow these steps:

Clone the repository:

git clone https://github.com/oleksandra-o/mars-visit-application.git
cd mars-visit-application

Install dependencies:
npm install

Start the development server:

npm start
The application will be running at http://localhost:3000

# Getting Started with Create React App

This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).

## Available Scripts

In the project directory, you can run:

### `npm start`

Runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.

The page will reload when you make changes.\
You may also see any lint errors in the console.

### `npm test`

Launches the test runner in the interactive watch mode.\
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.

### `npm run build`

Builds the app for production to the `build` folder.\
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.\
Your app is ready to be deployed!

See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.

### `npm run eject`

**Note: this is a one-way operation. Once you `eject`, you can't go back!**

If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

## Learn More

You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).

To learn React, check out the [React documentation](https://reactjs.org/).

### Code Splitting

This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)

### Analyzing the Bundle Size

This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)

### Making a Progressive Web App

This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)

### Advanced Configuration

This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)

### Deployment

This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)

### `npm run build` fails to minify

This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)