StealThis .dev

Gym — Trainers Page

A high-energy gym coaches page on a dark athletic theme — a bold neon hero with headline stats, specialty filter chips for Strength, Mobility, Boxing, Yoga and Nutrition, and a responsive grid of trainer cards showing avatar, name, specialty tags, bio, certifications and a Book session call to action. Clicking any card animates open a detail modal with full bio, achievements and selectable availability slots, while filtering smoothly fades and rescales the grid. All vanilla JS.

Lab에서 열기
html css vanilla-js
Targets: JS HTML

Code

Trainers Page

A bold, athletic marketing page for a fictional gym’s coaching roster, built on the high-energy dark theme with neon-lime accents and orange highlights. The hero pairs an oversized headline with quick credibility stats, and a row of pill-shaped filter chips lets visitors narrow the team by specialty — Strength, Mobility, Boxing, Yoga or Nutrition. The grid below is fully responsive, collapsing to a single column on small screens.

Each trainer card shows a colored avatar, name and role, a star rating, specialty tags, a short bio, their certifications and a prominent neon Book session button. Selecting a chip filters the grid in place with a smooth fade-and-scale animation and a live result count, and an empty state appears if nothing matches.

Clicking a card opens an accessible detail modal — focus moves into the dialog, Escape and the backdrop close it, and focus returns to the originating card. Inside, members get the full bio, a list of achievements and a set of availability slots; taken slots are disabled, selecting an open slot enables the confirm button, and booking fires a toast confirmation. Everything runs on a single dependency-free vanilla JS file.

Illustrative UI only — coaches, certifications and time slots are fictional.