Gym Website Template – HTML, SCSS & Vanilla JS (Light & Dark)
Demo: Tenzora Gym | Train Hard, Live Strong
⚡ Up and running in 3 steps
- Unzip the project.
- Open it with a local server (e.g. VS Code’s “Live Server” extension or npx serve . from the project folder).
- Done — no build is required to view it.
Important: The project uses JavaScript modules, so the browser blocks them if you open index.html by double-clicking it (file://). A local server is required.
To edit the styles, recompile the SCSS; see the installation section below.
Fictional content: the clinic, dentists, patients, testimonials, address, contact details and legal texts are fictional samples. The raster image assets are AI-generated placeholders, and every person shown is fictional. Replace them with your real content before publishing.
🏋️ What’s included
A full landing page with 9 sections:
- Hero with a “Transform your body” message, calls to action for joining and viewing classes, and animated stats counters for weekly classes, trainers and members.
- About section with the gym’s story and two photos.
- Classes: six classes (strength, cardio, functional, yoga, spinning and pilates), filterable by category, level and intensity. Each includes duration, available spots and a link to its schedule.
- Weekly schedule with a tab for each day, the gym’s current day selected by default, “Now” and “Next” badges, a daily quiet hour and a per-class filter.
- Membership plans: three plans (Basic, Standard and Premium) with a monthly/yearly toggle that shows the yearly savings. Plan buttons open WhatsApp with the selected plan in the message.
- Trainers: six coaches shown in three interactive cards. Each card switches between two coaches on hover, keyboard focus or tap.
- App section with a QR code, two phone screens that swap on hover or tap, and store buttons. The store links are placeholders and currently lead to the general Google Play and App Store pages.
- Location with address, opening hours, phone, parking and transit information, a directions button and an embedded map. The map loads a random demo location on each visit, with a visible notice.
- Contact form with field-by-field validation, a phone field with country selector and flags, and a WhatsApp alternative. The country selector uses intl-tel-input; country detection may contact ipapi.co.
Other features include a live “Open now / Closed” status based on the gym’s time zone and opening hours, light and dark themes with the visitor’s choice saved, a mobile menu, scroll spy, scroll animations and a floating WhatsApp button.
Privacy Policy and Cookies Policy pages are included.
The project is designed with WCAG 2.1 AA as a target. The technical documentation notes a known exception: the floating WhatsApp button’s pulsing animation does not meet WCAG 2.2.2 unless it is changed to stop within five seconds. This is a target, not a claim of certified conformance.
Technical documentation explains what to replace before publishing, including images, brand name, WhatsApp number and time zone, opening hours, classes, plans, trainers, map and address, legal information, SEO, contact details and app links.
Netlify configuration is included with security headers.
❓ FAQ
Does it have a backend?
- No. It is front-end only. The contact form validates fields in the browser and displays a success message, but does not send the data anywhere. It can be connected to a service such as Netlify Forms, Formspree or EmailJS. Plan buttons and the floating button open WhatsApp.
Do I need to know JavaScript to edit the content?
- No. Classes, sessions, prices and opening hours are in the HTML and use data attributes read by the scripts. Update both the data attributes and their corresponding visible text where applicable.
Do I need to know SCSS/Sass to use it?
- Basic HTML/CSS knowledge is enough to customize text and images. To change colors, typography or spacing, the design tokens are centralized in src/scss/abstracts/_variables.scss.
Can it be used for another type of business, not just a gym?
- It is built for gyms and fitness clubs, with classes, a timetable, membership plans and trainers. With changes to the text, images and brand colors, it can also be adapted to related businesses such as studios and fitness centers.
Do I need to install anything to customize the styles?
- You need Node.js. Run npm install to install Sass, then use npm run watch:css during development or npm run build:css to compile the final CSS.
Can I use the template on more than one project?
- No. The license covers one final project, either your own or for a single client. Extended licenses are not currently offered.
Do I own the template if I buy it?
- No. You purchase a usage license, not the intellectual property, which remains with the author.
Does it include support?
- Yes, email support is included for installation, configuration and customization questions. Include your order number and the marketplace where you purchased it.
Are the sample images and text real?
- No. The gym details, trainers, prices, address and figures are illustrative and should be replaced before publishing. The project images were AI-generated.
Is there a warranty?
- The template is provided “as is,” with no formal warranty. Any refund is subject to the applicable terms of the marketplace where it was purchased.
Do I need to keep anything from the template intact?
- Keep THIRD-PARTY-LICENSES.txt if you continue using the third-party assets it covers. If you replace those assets entirely with your own, that requirement no longer applies.
Is it mobile friendly?
- Yes. The layout is responsive across all sections.
Are the legal pages ready to publish?
- No. The Privacy Policy and Cookies Policy are draft templates with bracketed placeholders. Replace all sample information, then have both documents reviewed by a legal professional familiar with the laws in your country before publishing. The template does not include a cookie consent banner, and the Google Maps embed loads automatically. Check whether your jurisdiction requires consent before loading it.
Tech stack
- HTML5 · SCSS (simplified 5-7-1 architecture) · Vanilla JavaScript (ES modules) · No frameworks · Self-hosted third-party assets, including intl-tel-input · ipapi.co used for country detection