StealThis .dev

Register Page

Sign-up page with name, email, password, and confirm password fields, real-time strength meter, terms checkbox, and validation. No dependencies.

Open in Lab
css vanilla-js
Targets: JS HTML

Code

Register Page

A complete account registration page with full name, email, password, and confirm-password fields, live password strength meter, terms & conditions checkbox, and inline validation.

Features

  • Full name + email + password + confirm-password fields
  • Real-time password strength meter (Weak / Fair / Good / Strong) based on length, symbols, numbers, and uppercase
  • Password match validation in real-time on the confirm field
  • “Accept Terms” checkbox with link to terms page
  • Google and GitHub OAuth alternatives
  • Client-side validation on submit with inline error messages
  • Success state with animated checkmark

How it works

  1. passwordStrength() scores a password 0–4 and updates meter bar width + label
  2. confirmPassword field turns red/green as the user types to match
  3. Submit handler validates all fields before simulating account creation with a loader