StealThis .dev
Pages Easy

Nonprofit — Story Spotlight

A warm, long-form beneficiary spotlight page for a fictional water charity. Features a photo hero, magazine-style narrative with drop cap and pull quotes, a draggable before-and-after comparison, a four-image gallery with keyboard-navigable lightbox, related-story cards, and a sticky donate rail with a live fundraising thermometer, preset amounts, animated impact counters, recent-donor feed, trust badges, and native share with a fallback sheet.

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

Code

Story Spotlight

A complete beneficiary spotlight page for a fictional clean-water charity. A full-bleed photo hero opens Amara’s story, followed by a magazine-style narrative with a drop cap, two pull quotes, and a draggable before/after comparison block. A four-image field gallery opens into a keyboard-navigable lightbox, and a row of related stories closes the read.

The interactions are all vanilla JS. A reading-progress bar tracks scroll position, animated impact counters fire when the stats band scrolls into view, and a draggable slider reveals the before/after scenes. Sharing uses the native Web Share API with a graceful bottom-sheet fallback and copy-to-clipboard.

The sticky donate rail anchors the page: preset amounts update a contextual hint and the CTA label, a live fundraising thermometer animates as donations land, simulated donors trickle into a recent-donor feed while you read, and trust badges reinforce transparency. A small toast helper confirms every action.

Illustrative UI only — fictional organization, not a real charity or donation system.