StealThis .dev
الصفحات متوسط

Clinic — Clinic Landing

A marketing landing page for a fictional family practice with a translucent sticky nav, anchor links and a Book appointment CTA. The hero pairs a headline and dual call-to-action buttons with three count-up trust stats and a next-available appointment card, followed by a services grid, a why-choose-us feature row, a doctors strip, a patient testimonial and a footer carrying hours and contact. Smooth scroll, scroll-spy, reveal-on-scroll and a mobile menu round it out.

فتح في المختبر
html css vanilla-js
الأهداف: JS HTML

الكود

Clinic Landing

A complete marketing landing page for Northpoint Clinic, a fictional family practice. A translucent sticky navigation bar gains a subtle shadow as the page scrolls, with anchor links that smooth-scroll to each section and a persistent Book appointment call to action. The hero leads with a headline and an accepting new patients eyebrow, a primary booking button and a secondary Call us button, and three trust stats — patients cared for, years serving the neighborhood and average rating — that count up the first time they scroll into view. Alongside it, a next-available appointment card surfaces the soonest slot.

Below the hero, a services grid presents six cards with emoji icons and gentle hover lift, a Why Northpoint feature row highlights four reasons to choose the clinic, and a doctors strip introduces three clinicians with status badges. A warm patient testimonial sits on a teal gradient, and a closing booking section pairs calm copy with a small, validated request form. The footer carries opening hours, contact details and a back-to-top link.

Everything runs on vanilla JS: an IntersectionObserver drives the reveal-on-scroll cascade and the stat count-up, a scroll-spy highlights the active nav link, the mobile menu toggles open with full keyboard and outside-click handling, and form submissions and the call button surface friendly toast feedback. Motion is muted for visitors who prefer reduced motion.

Illustrative UI only — not intended for real medical use.