StealThis .dev
Pages Medium

Nonprofit — Environmental Landing

A complete environmental climate nonprofit landing page for a fictional reforestation charity. It pairs a full-bleed nature hero with count-up cause stats, four restoration program cards, an interactive impact-map teaser with clickable site pins, a petition pledge with an animated signature thermometer, a transparency breakdown with allocation bars and trust badges, partners, and a frequency-aware donate widget that translates dollars into trees. Forest green, ocean blue and earth tones; scroll reveals; fully responsive vanilla JS.

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

Code

Environmental Landing

A full multi-section landing page for Terraroot, a fictional environmental nonprofit restoring degraded land and watersheds. The hero overlays a warm forest-to-ocean gradient “photograph” with a captioned field placeholder, an urgent climate-emergency eyebrow, and a row of headline impact stats — trees planted, hectares restored, CO₂ drawn down, community partners — that count up from zero the first time they scroll into view. Below it, an impact band, four restoration program cards, and an interactive map teaser sit on alternating sand and misty-green backgrounds.

The page is genuinely interactive. The stylised world map carries animated pins you can click to load each site’s hectares restored, canopy recovery and crew lead into a live detail panel. A petition section drives an animated signature thermometer that ticks upward when you sign the (illustrative) pledge form, with inline validation. The transparency section animates allocation bars on reveal alongside trust badges (charity rating, tax-deductible, third-party carbon verification). The donate widget lets you switch between one-time and monthly giving, pick or type an amount, and watch the impact line recalculate dollars into trees in real time — with a small toast() confirming each action.

Everything is self-contained: Google Fonts via <link>, semantic landmarks, aria labels, keyboard-usable buttons and inputs, WCAG-minded contrast, a working mobile nav, scroll-reveal via IntersectionObserver, and a prefers-reduced-motion fallback. No frameworks, no build step — just HTML, CSS and vanilla JS that works down to ~360px.

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