StealThis .dev
Pages Hard

Airline — Results List

A polished flight-results screen for a fictional airline search. Browse fare cards showing carrier, depart-to-arrive times, route duration, stop count and per-person price, then narrow them with a sticky filter rail for stops, departure window, max price and airlines. Sort tabs flip the list between best value, cheapest and fastest, each card expands to compare Economy Light, Flex and Business fares, and selecting a fare fires a confirmation toast.

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

Code

Results List

A complete flight-search results screen for the fictional SkylineAir, built with vanilla HTML, CSS and JavaScript. The sticky left rail holds the filters — a segmented stops control (Any / Direct / 1 stop), four departure-window chips, a live max-price slider and an airline checklist showing each carrier’s lowest fare. Every control updates the result list instantly, and a reset button restores the defaults. When nothing matches, a friendly empty state offers a one-tap reset.

Each result is a boarding-pass-style card: airline badge and flight number, a departure → arrival timeline with 24h tabular times, route duration, a plane-on-a-line graphic, and the day-offset and stop summary. Sort tabs across the top switch the ordering between Best value, Cheapest and Fastest, each tab annotated with its own headline figure. The top card earns a Best value or Fastest pill depending on the active sort.

Expanding a card reveals three fare classes — Economy Light, Economy Flex and Business — laid out as comparison columns with perk checklists and per-person pricing. Selecting any fare highlights the chosen flight and raises a confirmation toast. The layout is mobile-first and collapses cleanly down to ~360px, with the rail stacking above the list and cards reflowing to a single column.

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