StealThis .dev

Coach — Workout Builder

An energetic dark workout builder where coaches drag exercises from a searchable library into a day plan, dial in sets, reps and rest per movement, reorder with live volume and estimated-duration math, and save the session. Electric-lime CTAs, muscle-group filters, empty-state coaching and a toast-confirmed save make programming a full training day feel fast, tactile and motivating.

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

Code

A two-panel workout programming tool built for personal trainers. On the left, a searchable exercise library groups movements by muscle group with quick filter chips; each card shows the target area and default loading. On the right, the day plan is a live canvas where dragged-in exercises become editable rows — set your sets, reps and rest with inline steppers, then reorder them by dragging the handle to sequence the session exactly how you want it.

Every edit recomputes the session summary in real time: total sets, total volume (sets × reps) and an estimated duration derived from work plus rest. The plan header carries a day-name field and a difficulty badge, while an empty canvas shows a friendly coaching prompt instead of a blank void. Remove rows with a single tap, clear the whole plan, or hit the glowing lime Save workout button to commit — a toast confirms the session was stored.

The interface is keyboard-usable and screen-reader aware: exercise cards can be added via keyboard, steppers expose proper labels, and drag handles have accessible roles. It collapses to a single-column layout under 520px so a coach can build a plan just as comfortably from a phone on the gym floor.