StealThis .dev
Pages Medium

Airline — Online Check-in

A six-step online check-in wizard for a fictional airline, styled with a clean status-forward aviation feel. Passengers find a booking by reference and last name, confirm details, pick a seat from an interactive cabin map with extra-legroom pricing, add checked bags, toggle travel and health declarations, and receive an issued boarding pass with a perforated stub and generated barcode. Built with vanilla JavaScript and a responsive, mobile-first layout.

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

Code

Online Check-in

A self-contained online check-in flow for the fictional Skyline Air, modelled on the precise, status-forward feel of real airline apps. A pill-based stepper tracks progress across six stages — find booking, passenger, seat, bags, documents, and boarding pass — and completed steps stay clickable so travellers can jump back without losing their selections. The aviation blue and sunrise-orange palette, airport codes (JFK → LHR), 24-hour times, and tabular figures keep flight data crisp and readable down to a 360px phone screen.

The wizard is genuinely interactive. Entering a 6-character reference and last name validates the input and reveals the passenger card; the seat map renders a real cabin grid with an aisle gap, taken seats, and priced extra-legroom rows that update a live status line. A bag stepper totals checked-baggage fees, and three declaration toggles gate the final step until all are confirmed.

Issuing the boarding pass animates a card with a dashed perforation, a stub showing seat and gate, a procedurally generated barcode seeded from the booking, and a boarding group derived from the chosen row. Toasts confirm each action, and a single reset returns the flow to a clean start.

Illustrative UI only — fictional airline, not a real booking or flight system.