<project · beginner>
Password strength checker
Score passwords and explain how to make them stronger.
Build password strength checker one manageable milestone at a time. Keep your decisions, tests and finished work together so your portfolio shows what you learned, not only the final result.
- Threat modelling
- Input privacy
- Validation
- Testing
Build it step by step
Define the safe boundary
Build a local-only page and warn users to use sample passwords, not real credentials. Do not send, log or persist the input.
Use a proven estimator
Use zxcvbn or a maintained equivalent rather than a homemade character-count formula. Read its score meaning and explain that no score guarantees security.
Give useful feedback
Show estimated strength and actionable advice such as longer unique passphrases. Support password managers and a reveal control without copying input into analytics.
Make it accessible
Label the input and announce feedback without interrupting typing. Ensure the reveal control works with the keyboard and colours are not the only signal.
Test privacy and limits
Use synthetic weak and strong examples and unusually long input. Inspect network requests and browser storage to confirm the password never leaves the page.
Share your finished work
Commit your source and a README explaining setup, decisions, tests and limitations. Remove secrets and personal data, credit dependencies and assets, then add the public repository or portfolio link and an optional working demo to LEARN Showcase. Hosting is optional; a clear repository or design case study is enough.
// done when
- Input is not transmitted or stored
- Feedback uses a proven estimator
- Advice does not promise perfect security
- Keyboard and screen-reader feedback work
- README includes setup, credits and limitations; shared links are safe and accessible
// stretch goals
- Add a local passphrase generator
- Compare synthetic password patterns
Finished? Show it off
Add your project to the LEARN showcase so other learners and employers can see it.
Sign in to add your finished project to the showcase.