StealThis .dev
Pages Medium

Airline — Destinations Page

A polished airline destinations page in clean aviation blue and sunrise orange. A live search filters cities, countries and airport codes while region chips narrow the network and a sort control reorders by price or name. A featured spotlight headlines a route, responsive cards show from-prices and flight times, a quick-view dialog surfaces cabin and frequency details, and a stylised route map teaser rounds out the layout, all built with vanilla JS.

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

Code

Destinations Page

A marketing-style destinations page for the fictional Skyward Airlines. A full-bleed spotlight headlines a featured route with its from-price, descriptive copy and travel tags, while a stylised SVG route-map teaser communicates the wider network. The aviation-blue and sunrise-orange palette, Inter typography and tabular figures for prices and flight times give it a precise, status-forward feel.

The destination grid is fully interactive. A debounced search box matches across city, country, region and three-letter airport codes (try “JP”, “NRT” or “coast”); region chips filter the network down to a single continent; and a sort control reorders results by price ascending or descending, or alphabetically. Each responsive card shows the airport code, region, deal badge, from-price and flight time.

Tapping any card opens a keyboard-accessible quick-view dialog with the destination photo, airport code pill, cabin and aircraft, service frequency and a fares call-to-action. The modal closes on Escape, backdrop click or the close button, restoring focus to the originating card. A small toast helper acknowledges the illustrative booking actions. Everything runs on a single dependency-free script and adapts cleanly down to 360px.

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