- React: A JavaScript library for building user interfaces.
- Tailwind CSS: A utility-first CSS framework for rapid UI development.
- TypeScript: A statically typed superset of JavaScript.
- Formik: A popular form management library for React.
- Yup: A library for form validation and schema definition.
Super Test is a Multistep Form that includes:
- Username: A string field, required, with a length of 4-12 characters.
- Email: Any valid email address, required.
- Phone Number: Any valid phone number, required.
- Country: Required, retrieves the list of countries from an external API.
- Password: A password field, required, with a length of 8-16 characters.
- Repeat Password: Password must match the password field.
- Displayed Values from Step 1:
- Username
- Phone
- Country
This project utilizes the Rest Countries API to fetch data about countries. The API provides information about countries, including names, populations, and more. You can explore the API for more details.
Make sure you have Node.js and npm (Node Package Manager) installed on your machine.
-
Clone this repository:
git clone https://github.com/Shahriar-Rumel/super-test-form cd super-test-form
-
Install dependencies:
npm install
- Start the development server:
npm start
The application will be available at http://localhost:3000.
Fill the form step by step to test the input validation
This project is licensed under the MIT License - see the LICENSE file for details