StealThis .dev
Pages Easy

Airline — Our Fleet

A polished Our Fleet marketing page for a fictional airline, built with plain HTML, CSS and vanilla JavaScript. Switch between four aircraft types to reveal live specifications, toggle between performance, dimension and cabin spec views, browse a cabin gallery, and preview a generated seat-configuration map. Includes an aviation-blue and sunrise-orange theme, status pills, animated hero counters, scroll reveals and a fully responsive layout that works down to small phones.

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

Code

Our Fleet

An aviation-styled “Our Fleet” page for the fictional carrier Skyloom Air. The hero introduces the fleet with animated count-up statistics, and an aircraft explorer lets visitors switch between four real-world aircraft types — A350-1000, 787-9, A321neo and E190-E2 — each rendered with its own tail number, status pill, silhouette and cabin-class badges. Selecting a tail swaps the entire panel with a smooth cross-fade.

Beneath the summary, a segmented spec toggle flips the data grid between Performance, Dimensions and Cabin figures using tabular numerals for clean alignment. A cabin gallery with previous/next arrows and class thumbnails steps through Suite, Business, Premium and Economy, while a seat-configuration preview generates a representative seat map (3-3-3, 1-2-1, 2-2, and so on) with staggered pop-in animations and live pitch/seat-count notes.

Everything is self-contained vanilla JavaScript: aircraft tabs are keyboard-navigable, buttons and inputs are focus-visible, scroll reveals fade sections in, and a small toast confirms each selection. The layout reflows for narrow screens down to roughly 360px, and respects prefers-reduced-motion.

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