StealThis .dev
Pages Medium

Museum — Exhibition Page

A refined, gallery-toned single-exhibition page with a full-bleed gradient hero, On view status badge, run dates and a live days-left countdown. Includes a curatorial statement, four thematic chapters, a filterable featured-works grid with framed artwork placeholders, a timed-entry ticket selector with running total, and related programs. Sticky mini-header reveals on scroll with scroll-spy anchor navigation, all in vanilla HTML, CSS, and JavaScript.

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

Code

Exhibition Page

A complete single-exhibition landing page for a fictional cultural institution, the Verrane Museum of Modern Art. The full-bleed hero pairs a layered CSS/SVG gradient “artwork” with the exhibition title, curatorial subtitle, run dates, and a pulsing “On view” status badge, plus a live countdown showing the days remaining before the show closes. Beneath it sit a curatorial statement, four numbered thematic chapters, a featured-works grid, a ticketing panel, and related programs — composed with generous wall space, a serif display face, and a calm gallery palette.

Interactions are pure vanilla JavaScript. A sticky mini-header slides into view once the hero scrolls away, and an IntersectionObserver scroll-spy keeps the anchor navigation in sync with the section in view. The featured-works grid filters by chapter through pressable chips with an empty state, each work framed in a thin mat to read as hung art. The visit panel includes a per-tier ticket stepper that keeps a running total, and a toast helper surfaces confirmations and gentle validation.

Everything is self-contained: artworks, artists, mediums, dates, and catalog numbers are fictional but plausible, and all imagery is rendered with CSS gradients and inline SVG — no external assets. The layout is responsive down to roughly 360px, keyboard-usable, and uses accessible focus styles and ARIA where it counts.

Illustrative UI only — demo data; not a real museum system.