diff --git a/README.md b/README.md index b87cb00..d345f45 100644 --- a/README.md +++ b/README.md @@ -1,46 +1,16 @@ -# Getting Started with Create React App +

Frontend-Expert

-This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). +![GitHub last commit](https://img.shields.io/github/last-commit/demondaddy22/frontend-expert?color=%236FC0B1&style=for-the-badge) +![GitHub commit activity](https://img.shields.io/github/commit-activity/m/demondaddy22/frontend-expert?color=%23EE66BB&style=for-the-badge) +![GitHub repo size](https://img.shields.io/github/repo-size/demondaddy22/frontend-expert?color=%2327ACE0&style=for-the-badge) -## Available Scripts +_Frontend-Expert_ contains bunch of exercises available in the [FrontendExpert](https://www.algoexpert.io/frontend/product) course. All the implementations have been done in ReactJS for consistency. A CI/CD pipeline will be setup soon and exercises done up till that point can be easily viewed as a part of the deployed website. Detailed description can be found in each exercise's README. -In the project directory, you can run: +## Exercises -### `npm start` +1. [SignUpForm](./src/components/SignUpForm/README.md): Implement a sign-up form in HTML with some given prerequisites. -Runs the app in the development mode.\ -Open [http://localhost:3000](http://localhost:3000) to view it in the browser. +
+
-The page will reload if you make edits.\ -You will 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/). +Disclaimer: This repo is not related to FrontendExpert or AlgoExpert in any way. This repo has been set up just to practice the exercises available in the course which can be purchased through their website. diff --git a/src/components/SignUpForm/README.md b/src/components/SignUpForm/README.md new file mode 100644 index 0000000..8c95cf8 --- /dev/null +++ b/src/components/SignUpForm/README.md @@ -0,0 +1,14 @@ +# SignUpForm + +_Tag_: **HTML** + +Implement a sign-up form in HTML with the following six input fields, each with an appropriate label: + +1. **Username**, a required text input field +2. **Password**, a required password input field +3. **Email**, a required email input field +4. **Phone Number**, an optional telephone input field +5. **Date of Birth**, an optional date-picker input field +6. **I agree to the TOS**, a required checkbox input field + +There should also be a Sign Up button at the bottom of the form. When clicked on (and if all required fields have been filled), the button should submit the form using default browser behavior.