The objective of this assessment is to showcase your frontend development skills using HTML, CSS, JavaScript, and React.js. You will be creating a set of responsive and user-friendly pages including a Registration Page, a Login Page with authentication, and a User Details Page.
- Design and implement a registration page.
- Include fields for entering the user's name, email, password, Mobile Number, Age, Address, Gender, and Occupation.
- Implement client-side validation for the form fields (e.g., required fields, valid email format).
- Include a "Register" button that submits the form.
- Design and implement a login page.
- Include fields for entering the user's email/Mobile Number and password.
- Users should be able to log in using email or mobile number.
- Implement client-side validation for the form fields.
- Include a "Login" button that submits the form.
- Implement a basic authentication logic without using a backend or database.
- Upon successful registration, store the user's credentials (email/mobile number and password) securely in memory or using appropriate client-side techniques.
- Implement login functionality by verifying user input against the stored credentials.
- Display appropriate messages for successful login or authentication errors.
- Create a page that displays user details after successful registration or login.
- Display the user's name and email address on this page.
- Provide a “Logout” button to log out the user and return to the login or registration page.
- Mask the Password on this page and provide a “show password” button to show the password.
- Clone this repository to your local machine.
- Install the required dependencies using
npm install
. - Start the development server using
npm start
. - Begin implementing the components as per the requirements mentioned above.
- Use React.js for building the components and managing state.
Please submit your completed assignment by creating a pull request to this repository.
The deploy link of Registration Form : https://registration-form-hazel.vercel.app/