StealThis .dev
Pages Medium

Airline — Regional Landing

A friendly regional short-hop airline landing page with a quick-search hero, live boarding-pass card with countdown, an interactive SVG route map you can switch between hubs, fast-turnaround perks, two simple fares, an app promo with a phone mockup, and a full footer. Sky-blue and green palette, rounded approachable styling, scroll reveals, mobile nav, and a toast helper. Vanilla HTML, CSS, and JavaScript with no frameworks or build step.

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

Code

Regional Landing

A marketing landing page for SkyHop, a fictional regional carrier that flies the short hops the big airlines skip. The hero pairs a quick-search form — with airport autocomplete, an animated swap button, and a date picker — against a live boarding-pass card whose departure countdown ticks down in real time and flips to a final-call status.

The route section is the centerpiece: an inline SVG map redraws its dashed flight lines and node states whenever you switch hubs via the segmented tabs, and the matching list of routes shows flight time, daily frequency, and a one-way price. Clicking nodes or rows fires a toast. Below, fast-turnaround perks, two plain-language fares (Light and Comfort), an app promo with a phone mockup, and a four-column footer round out the page.

Everything is vanilla: an IntersectionObserver drives scroll reveals, a sticky nav gains a shadow on scroll, the mobile burger toggles an accessible menu, and a small toast(msg) helper surfaces feedback for every interaction. Responsive down to ~360px and respectful of reduced-motion preferences.

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