Score password strength and explain how to improve it, without storing any passwords.
Difficulty: Beginner · Technology: JavaScript or Python
Features to build
- Length and variety checks
- Common password warning
- Improvement tips
- No data stored
Step-by-step build plan
- Define rules for length, variety and common patterns
- Compute a score and explain it
- Show tips to improve
- Ensure no password is stored or sent anywhere
- Add a warning for very common passwords
The part most people find hard
Giving useful advice without oversimplifying strength.
How to test it
Try passwords of different styles and read the tips.
What to decide before you start
List the rules before coding: minimum length, mixed characters and common-password checks.
Questions an interviewer may ask about this project
- Why is a strength score only an estimate?
- What makes a password easy to guess?
- How would you avoid sending the password anywhere?
Mistakes to watch for
Treating a long but predictable password as strong.
Suggested extensions
Add user accounts, better error handling, automated tests and a README with screenshots. Each extension is a new talking point in interviews.
How to describe it on your resume
Created a client-side password strength checker with actionable feedback.
Portfolio tip
Deploy it, link both the live version and the code, and write two paragraphs about what you learned and what you would improve.