StealThis .dev

Coach — Progress Tracker

An energetic dark-mode progress dashboard for fitness coaching clients: an animated inline-SVG weight and strength line chart, a quick log-entry form that redraws the trend live, a fiery workout streak counter, a personal-records leaderboard, and a body-measurements grid. Bold uppercase headings, glowing electric-lime CTAs, and smooth micro-interactions turn dry numbers into motivation.

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

Code

A client-facing progress tracker built for online fitness coaches. The centerpiece is a hand-drawn inline-SVG line chart that plots bodyweight against a strength index across recent sessions; the path strokes itself on load and animates again every time new data arrives. A toggle swaps the visible metric, an area gradient fills beneath the trend, and hovering a data point surfaces a labelled tooltip so clients can read exact figures without leaving the card.

Below the chart, a compact log-entry form captures date, bodyweight, and top set. Submitting it prepends the entry, rescales the chart, bumps the streak counter, and fires a motivational toast — all in vanilla JS with no dependencies. The streak card burns brighter as the number climbs, and a personal-records list celebrates fresh PRs with an animated badge.

The layout is responsive down to roughly 360px, collapsing the two-column grid into a single stack while keeping the measurements grid legible. Every control is keyboard-usable with visible focus rings, controls carry ARIA labels, and the palette holds WCAG AA contrast against the near-black background for readable, energetic reporting.