StealThis .dev
页面 簡單

Clinic — Services / Specialties

A calm services and specialties page for a fictional clinic, leading with a warm hero and category filter chips that live-filter a responsive grid of specialty cards. Each card pairs a soft gradient icon, a category tag, a short blurb and Learn more plus Book actions, lifting gently on hover. Chip counts update from the markup, a live result line and empty state keep things clear, and a footer CTA band invites booking. Vanilla JS only.

在 Lab 開啟
html css vanilla-js
目標: JS HTML

程式碼

Services / Specialties

A marketing-style services page for Northpoint Clinic. A warm hero introduces the practice, then a row of category chips — All, Primary care, Specialists and Diagnostics — sits above a responsive grid of twelve specialty cards. Each card leads with a soft gradient icon and a category tag, a clear title, an empathetic blurb naming a fictional clinician, and a tidy footer with a Learn more link and a teal Book button.

The chips live-filter the grid: selecting one shows only matching specialties, updates each chip’s count, refreshes a quiet result line and reveals an empty state when nothing matches. Counts are derived from the markup, so adding or removing a card just works. The chips form a roving tablist you can drive with the arrow keys, Home and End, and cards lift gently on hover for a tactile feel.

Every action — Learn more, Book and the footer call-to-action band — routes through a small toast() helper for friendly, non-blocking feedback. The whole page is plain HTML, CSS and vanilla JavaScript, responsive down to roughly 360px, with aria roles, visible focus states and AA-contrast clinical copy throughout.

Illustrative UI only — not intended for real medical use.