StealThis .dev
Pages Hard

Travel — Trip Planner

A flagship interactive trip planner for the fictional Adriatic and Alps route, built in vanilla HTML, CSS, and JavaScript. Search a catalogue of sights, nature, food, and stays, then add spots that flow into a day-by-day itinerary you can drag and reorder across days. A live header tracks total days, stops, estimated budget, and cost per day, an SVG route map draws numbered pins in your day order, and a category budget breakdown updates in real time. Trips auto-save to localStorage with save and clear controls.

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

Code

Trip Planner

A full-bleed editorial trip planner for the fictional Coast to Summit Escape — a 14-night journey down the Adriatic coast and up into the Alps. A landscape-photography hero rendered entirely in layered SVG (warm sky, sunset sun, two mountain ridges) sits behind an editable trip title and a live stats rail: total days, stops, estimated budget, and cost per day. The three-column workspace pairs an Explore catalogue on the left, your Itinerary in the middle, and a sticky Route map + budget on the right.

Search the atlas or filter by Sights, Nature, Food, and Stays, then hit the + on any card to drop it into the day with the fewest stops. Each itinerary stop is fully draggable: pick it up by the grip and drop it anywhere — reorder within a day or move it to another day entirely, with the route map, day subtotals, and category budget all recomputing instantly. Add or remove days, delete spots, rename the trip, and the running totals follow along.

The mini map is first-class — a CSS/SVG sea-and-land mockup with numbered teardrop pins and a dashed route line drawn in your exact day-by-day order, each pin labelled with its place and titled for hover. Everything auto-saves to localStorage, so a reload restores your trip; explicit Save trip and Clear controls confirm with a toast. The layout collapses gracefully from three columns to two to a single stacked column down to ~360px, with keyboard-usable controls and visible focus rings throughout.

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