Skip to content

Tania2607/Password_validation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Password Validation App

A simple React-based password validation app that provides real-time feedback to users as they type their password. It checks for strength, character requirements, and provides visual cues for a better user experience.

🚀 Features

  • Real-time password strength validation
  • Progressive strength indicator (Weak to Very Strong)
  • Password visibility toggle (Show/Hide)
  • Visual progress bar showing strength percentage
  • Clean and modern UI with card-based design
  • Built with React, HTML, and CSS

📊 Password Strength Criteria

  • Minimum 8 characters required
  • Contains numbers (1-9)
  • Contains special characters (!@#$%^&*()_+ etc.)
  • Contains uppercase letters (A-Z)

The password strength is calculated based on these criteria and displayed with a progress bar and strength indicator.

📸 Preview

Screenshot 2025-06-07 132710 Screenshot 2025-06-07 132752 Screenshot 2025-06-07 132806 Screenshot 2025-06-07 132824 Screenshot 2025-06-07 132842

🛠️ Technologies Used

  • React.js
  • JavaScript (ES6+)
  • HTML5
  • CSS3
  • Create React App

📁 Project Structure

password_validation/
├── public/
├── src/
│   ├── App.js
│   ├── App.css
│   ├── index.css
│   └── index.js
├── package.json
├── package-lock.json
└── README.md

⚙️ Setup Instructions

  1. Ensure Node.js is installed on your system (version 14 or higher)

  2. Install project dependencies

npm install
  1. Start the development server
npm start

The app will start in development mode. Open http://localhost:3000 to view it in your browser.

The page will automatically reload when you make changes to the source files.

  1. Build for production
npm run build

The build will create a build folder with optimized files ready for production deployment.

  1. Run tests
npm test

Runs the test suite with Jest.

The app will start in development mode. Open http://localhost:3000 to view it in your browser.

  1. Build for production
npm run build

The build will create a build folder with optimized files ready for production deployment.

✅ Validation Criteria (Example)

  • At least 8 characters
  • At least 1 uppercase letter
  • At least 1 number
  • At least 1 special character (!@#$%^&*)
  • No spaces allowed

You can customize these rules in the PasswordValidator.js file located in the src/components directory.

Made with ❤️ by Tania

About

A simple React-based password validation app that provides real-time feedback to users as they type their password. It checks for strength, character requirements, and provides visual cues for a better user experience.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors