Day 3: Form Validation

Validate signup/login inputs with regex and DOM events. Real-time feedback, password policy, and accessible error messages.

Minimum 8 chars, include uppercase, lowercase, number, and special character.
How it works (short)

The JS attaches input and submit listeners. It uses regex to validate email and password rules, updates inline error messages, updates a visual strength bar, and prevents submission until all checks pass.