StealThis .dev

Coach — Video Lesson

An energetic dark-mode video lesson player for fitness coaching, pairing a 16:9 video placeholder with a live progress bar, chapter cues, and a synced step-by-step instruction list. Track sets and reps with a working counter, tick off cues as you master them, mark the whole exercise complete with a glowing lime CTA, and jump straight to the next move in the program without leaving the screen.

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

Code

A single-lesson training screen built for a fitness coaching app. The stage holds a 16:9 video placeholder with a play/pause overlay, a fake timeline that scrubs as the mock playback runs, and chapter markers that advance the currently active instruction. Alongside it sits a metadata rail showing the coach, muscle focus, and difficulty badges, plus a live sets and reps tracker with plus and minus steppers.

The synced instruction list is the core interaction: each step lights up as playback reaches its timestamp, and learners can tap a cue to seek to that moment or check it off once nailed. A circular completion ring fills as cues are ticked, and the electric-lime Mark complete button glows once every step is done. Finishing the lesson swaps the CTA into a Next exercise action that loads the following move in the program.

All state is vanilla JS with a small toast helper for feedback. Controls are keyboard reachable with visible focus rings, the timeline is an ARIA slider, and the layout collapses from a two-column split into a single stacked flow below 520px so it stays usable on a phone at the gym.