StealThis .dev
Pages Medium

Coach — Landing Weightloss

An energetic dark landing page for a weight-loss coaching program, built around a before-after transformation showcase, a three-tier program overview, and a live calorie-and-results estimator. Interactive weight-goal slider projects a realistic timeline, animated stat counters and a scroll reveal add momentum, verified client testimonials build trust, and a glowing electric-lime join CTA closes the page. Fully responsive, keyboard accessible, and self-contained with vanilla JS toasts and micro-interactions.

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

Code

A high-energy, dark-themed landing page for a fictional weight-loss coach named Mara Voss. The hero pairs a bold uppercase headline with a glowing electric-lime call to action and a set of animated stat counters (clients coached, pounds lost, five-star reviews) that count up when the page loads. Directly below, a transformation showcase uses a draggable before-after slider so visitors can wipe between two gradient panels and feel the promise of the program.

The centerpiece interaction is a results estimator: a range slider lets a visitor set how many pounds they want to lose, and the page instantly projects a realistic weekly loss rate, a target timeline in weeks, and an implied daily calorie deficit — all updating live with a subtle pulse. A three-card program overview (Reset, Rebuild, Sustain) explains the coaching phases, and a testimonials row surfaces verified client wins with avatars and result badges.

Everything is vanilla HTML, CSS, and JavaScript. Interactions include the before-after wipe (pointer plus keyboard arrows), the live estimator, a scroll-triggered reveal for cards, animated counters, and a join form that validates the email and fires an accessible toast confirmation. The layout collapses cleanly to a single column under 520px while preserving focus states and AA contrast throughout.