StealThis .dev
Pages Medium

Airline — Airline Landing

A polished marketing landing page for a fictional airline, built with vanilla HTML, CSS, and JavaScript. It pairs a horizon hero with an integrated flight-search widget (round-trip and one-way modes, swap, date defaults), a swipeable fare-deals carousel, a trending-destinations grid, a why-fly-us feature row, a SkyMiles loyalty teaser with a membership card, an app-download block with a boarding-pass mockup, and a full footer. Status pills, tabular figures, and scroll reveals give it an aviation feel.

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

Code

Airline Landing

A complete marketing landing page for Skyloom, a fictional airline. The hero leads with a horizon headline and a sticky, glassy header, then drops a fully interactive flight-search widget right into the fold — toggle between round-trip and one-way, swap origin and destination, and submit to see a simulated results count. Departure and return dates are pre-filled to sensible defaults, and times, flight numbers, and prices use tabular figures so columns line up the way they would on a real departures board.

Below the fold, a fare-deals carousel scrolls through eight round-trip offers with prev/next controls that disable at the ends and adapt to one, two, or three cards per view. A trending-destinations grid renders airport codes, city names, and from-prices over generated gradient tiles, and a why-fly-us row highlights legroom, free bags, in-flight Wi-Fi, and sustainability. The SkyMiles section shows a tier-progress bar and a membership card, while the app block features a boarding-pass mockup complete with a Boarding status pill, gate, seat, and group.

Everything is self-contained vanilla JS — a small toast() helper surfaces feedback, an IntersectionObserver drives scroll reveals, and the layout collapses to a mobile nav and single-column stacks down to 360px.

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