StealThis .dev

Gym — Landing Page

A high-energy, dark-themed gym landing page built with plain HTML, CSS and vanilla JavaScript. It features a full-bleed hero with a neon CTA, an animated counting stats strip, a featured-classes grid, a trainers preview row, a three-tier membership teaser, a rotating testimonials carousel and a final free-trial band with inline email validation. A sticky header, mobile nav toggle, scroll-reveal animations and a lightweight toast helper round out the experience.

लैब में खोलें
html css vanilla-js
Targets: JS HTML

Code

Landing Page

A bold, conversion-focused landing page for the fictional Ironpulse gym. The full-bleed hero pairs an oversized uppercase headline with a neon “Start free trial” CTA and a social-proof rating, sitting on a soft radial glow. Below it, a stats strip animates from zero into real-feeling numbers (members, weekly classes, trainers, locations) the moment it scrolls into view.

The page keeps moving with a four-card featured-classes grid (each with its own gradient cover, badge and coach), a trainers preview row, a three-tier membership teaser with a highlighted “Most popular” plan, and a testimonials carousel that auto-rotates, pauses on hover and is dot-navigable. A final free-trial band captures an email with inline validation and confirmation toast.

All interactions are vanilla JavaScript: a sticky header that gains a border on scroll, an accessible mobile nav toggle, IntersectionObserver-driven scroll-reveal and stat counters, the testimonial rotator, and a small toast() helper. The layout is fully responsive down to ~360px and respects prefers-reduced-motion.