StealThis .dev
Pages Hard

Travel — Destination Guide

A magazine-grade destination guide for the fictional island of Isla Verde, opening on a full-bleed gradient hero with the title and key facts — best time, currency, language, and flight time. A sticky section nav scrollspies across Overview, See, Eat, Stay, Map, and Tips while rich POI cards carry ratings, price tiers, and add-to-trip hearts. A CSS and SVG island map links interactive pins to a synced legend, a horizontal photo gallery band scrolls beneath, and a save-guide action toggles with a confirming toast.

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

Code

Destination Guide

An editorial, full-page travel guide for the invented island of Isla Verde. It opens on a full-bleed hero built entirely from layered inline SVG — a sunset sky, volcanic ridges, a glinting sea, and a gently swaying palm — over which the title, a wanderlust lede, and a four-up fact strip (best time, currency, language, flight time) sit in a serif display face. A Save guide button toggles between saved and unsaved states with a confirming toast.

Below, a sticky section nav follows you down the page. An IntersectionObserver scrollspy keeps the active tab in sync as you scroll through Overview, See, Eat, Stay, Map, and Tips, and clicking a tab smooth-scrolls to the section and moves keyboard focus there. Each themed section renders POI cards from data, complete with gradient “photography”, best-time and category badges, star ratings, price tiers, and an add to trip affordance that tallies a running count in the toast.

The Map section is first-class: a CSS-and-SVG island mockup with a dashed route line and a compass rose, overlaid with numbered pins that stay in sync with a clickable legend list — select either and both highlight together. A dark, horizontally scrolling gallery band and a grid of practical local tips round out the guide. The layout collapses gracefully to a single column down to 360px, respects reduced-motion preferences, and keeps every control keyboard-usable with visible focus rings.

Illustrative travel UI only — fictional destinations, prices, and maps.