Problem Brief
Build a real-time password strength analyzer (Weak/Fair/Strong) plus randomized generator with uppercase/symbol toggles.
Requirements
- Typing into `[data-testid="pw-input"]` computes strength into `[data-testid="pw-strength"]`.
- Criteria: length >= 10, uppercase letter, digit, and special symbol.
- Clicking `[data-testid="pw-generate"]` generates a password matching `[data-testid="pw-len"]` and triggers strength evaluation.
Progressive Hints (1)
- Score rules 0-4 cleanly (`Weak` <= 1, `Fair` = 2-3, `Strong` = 4).
Reference Solution
Stuck? Load the verified reference code into your editor.
Automated Test Suite
2 Test Cases Ready- Grades Weak vs Strong passwordsabc is Weak; Frontend#2026 is Strong
- Generates strong password at requested lengthGenerate fills 14-char Strong password
Live Sandboxed Previewiframe sandbox