Skip to content
HTML Templates For Developers

Documentation

Enroll — Registration Form Template

Version 1.0.0 · Vanilla HTML · 10 files · 48 KB

Back to the template

Getting started

  1. Unzip the download and open index.html in a browser. No server, installation or build step is needed.
  2. Edit the text directly in the HTML files.
  3. Change colours, fonts and spacing through the CSS custom properties at the top of assets/css/style.css.
  4. Replace the artwork in assets/images/ with your own images.
  5. Upload the whole folder to any static host.

File structure

The download contains these 10 files:

  • LICENSE.txt1.3 KB
  • README.md2.5 KB
  • assets/css/style.css13 KB
  • assets/fonts/plus-jakarta-sans-LICENSE.txt4.4 KB
  • assets/fonts/plus-jakarta-sans-latin-wght-normal.woff227 KB
  • assets/images/favicon.svg275 B
  • assets/js/main.js7.8 KB
  • documentation/index.html12 KB
  • documentation/licenses/lucide-LICENSE.txt3.1 KB
  • index.html13 KB

Colours

These custom properties are defined at the top of the stylesheet. Change a value once and it updates everywhere it is used.

  • --color-white#ffffff
  • --color-ink#111827
  • --color-text#374151
  • --color-muted#6b7280
  • --color-line#e5e7eb
  • --color-line-strong#d1d5db
  • --color-tint#f9fafb
  • --color-brand#059669
  • --color-brand-dark#047857
  • --color-brand-deep#064e3b
  • --color-brand-soft#d1fae5
  • --color-danger#b91c1c
  • --color-danger-soft#fef2f2
  • --color-warn#b45309
  • --color-ok#047857

Interactive features

Registration form

Replace the timeout inside the submit handler in assets/js/main.js with a request to your endpoint; on failure call setError(email, message) or similar and on success show the done view.

Password rules

Edit the RULES object in main.js and the matching list items (data-rule attributes) in index.html. The meter has four segments; change the CSS grid and data-level rules if you add or remove rules.

Already-registered demo

TAKEN_EMAIL in main.js is the address that triggers the duplicate-account error. Delete it when connecting a backend.

Password toggles

Add data-toggle-password="<input id>" to a button beside any password input.

Customisation notes

Brand colour and side panel

Change --color-brand, --color-brand-dark and --side-gradient in :root. The side panel text colours are set in the Side panel section of the stylesheet.

Countries

The select lists 20 countries as plain option elements in index.html; replace them with your own list or generate them server-side.

Benefits and quote

Benefits are list items with class benefit; the quote is a figure with class side__quote. Both are invented placeholder content for the Enroll brand.

What is front-end only

This is a front-end template. The behaviours below are demonstrations that run in the browser; connect them to your own server or service before relying on them.

  • The form validates in the browser and shows a success screen; no account is created, nothing is sent and nothing is stored.
  • The already-registered error is a simulation triggered by [email protected].
  • Terms, privacy and sign-in links point to example.com placeholders.

Bundled components and licences

Everything the template needs is inside the download; nothing is loaded from the network.

  • Plus Jakarta Sans typeface — OFL-1.1 (assets/fonts/plus-jakarta-sans-LICENSE.txt)
  • Lucide icons (inlined SVG) — ISC (documentation/licenses/lucide-LICENSE.txt)

Changelog

Version 1.0.0 · Nov 23, 2026

  • Initial release.