StealThis .dev
Pages Medium

Vet — Book an Appointment

A friendly multi-step veterinary booking flow to choose a pet or add a new one, pick a reason and an optional vet, select a date from a month calendar and an available time slot, confirm contact details, and review a validated confirmation summary with an add-to-calendar teaser.

Open in Lab
html css vanilla-js
Targets: JS HTML

Code

Book an Appointment

A warm, approachable veterinary booking page built as a single guided flow. Pet owners pick one of their pets (Luna the cat, Biscuit the corgi, Mango the parrot) or add a new one inline, choose a reason for the visit, optionally request a specific vet, then move into scheduling.

The scheduler renders a real month calendar with disabled past days and weekend handling, and reveals a grid of available time slots once a date is selected. A contact step collects the owner’s name, phone and email with live validation, and the final summary card recaps everything with an add-to-calendar teaser and a success state.

Everything runs on vanilla JS — date math, slot generation, step navigation, validation and the confirmation render are all hand-rolled with no libraries.

Illustrative UI only — not for real veterinary use.