StealThis .dev
Pages Medium

Airline — Low-Cost Carrier Landing

A loud, value-forward landing page for a fictional low-cost carrier built in vanilla HTML, CSS and JavaScript. It pairs a punchy fare-search hero with a live price ticker, a seats-left countdown, a deals grid of discounted routes, a pay-only-for-what-you-need add-ons explainer with a bundle upsell, an interactive SVG route map you can switch by hub, an app-download block with a boarding-pass mockup, a mobile drawer nav and scroll-reveal sections — all in a bold yellow, black and magenta palette.

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

Code

Low-Cost Carrier Landing

A full marketing landing page for Zippa Air, a fictional budget airline, leaning into the loud, energetic aesthetic of value carriers: a high-contrast yellow, black and magenta palette, heavy display type, hard offset shadows and a scrolling fare ticker pinned to the top. The hero combines a one-way fare search (origin, destination, swap button, date and travellers) with a dark price callout card whose fare and progress bar wobble live while a seats-left counter ticks down to nudge urgency.

Below the fold, a responsive deals grid renders eight discounted routes from data, each showing the airport pair, destination city, taxes-in price, the crossed-out original fare and a percentage-off tag. An add-ons section explains the pay-only-for-what-you-need model with cards for bags, seats, speedy boarding and snacks, plus a bundle upsell. An interactive SVG route map lets you switch between four hubs, animating dashed flight paths and a matching list of fares, and an app-download block pairs an SMS sign-up form with a boarding-pass phone mockup.

Everything runs on vanilla JavaScript: a reusable toast() helper for feedback, a sticky nav that shrinks on scroll, a slide-in mobile drawer, the live fare and seats tickers, data-driven deals and route rendering, and IntersectionObserver scroll reveals. It is responsive down to ~360px, keyboard-operable and respects prefers-reduced-motion.

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