A martial arts school homepage built with Bootstrap 5 for a fictional family dojo called Northgate Martial Arts Academy. This karate and jiu-jitsu website template for kids and adults includes program pricing, a belt path, a class schedule and a free trial booking form in white and navy with red accents.
How it works
The header's navbar-expand-lg contains an .offcanvas panel (#nma-menu) that becomes a slide-in menu on phones.
Sections, in order:
- Hero:
.nma-herohas a navy text panel and a full-height photo on the right (.nma-hero__media) with a trust badge..nma-factslists the rating, founding year and head instructor rank. - Trust strip (
.nma-trust) and programs (.nma-programcards with age tags and monthly prices, plus.nma-program--rowcards for jiu-jitsu and kickboxing). - Belt path: an ordered list of
.nma-beltswatches with typical training time. - Schedule: Bootstrap tabs (
[data-nma-days]) with one.tab-paneper day..nma-chipmarks classes open to trial students. - Our story, why us (
.nma-why), gallery (.nma-shot), reviews, instructors (.nma-coach), the new student offer and an accordion FAQ. - Visit: an hours table and a static SVG map (
.nma-map) with a "Get directions" link. - Trial form and a navy footer.
script.js highlights today's hours row, sets the [data-nma-status] badge to "Open now" or "Closed now" from local time, opens today's schedule tab (Monday on Sundays) and marks it with .is-today. The "Trial day" select lists the next eight class days, skipping Sundays and showing no year. The form uses Bootstrap validation, shows a spinner and then a success alert naming the student, program and day.
Customization
--nma-navy,--nma-navy-deepand--nma-redon.nma-page: re-brand the hero, buttons, belt section and footer.data-open/data-closeon.nma-hoursrows: set your hours. Empty values mark a closed day.- Add or remove
<li>items in.nma-belts, and change.nma-belt--*colors to match your style's ranking system. - Edit the
.nma-classeslists inside each#nma-day-*pane to publish your own timetable. - The
d.getDay() === 0check infillDates(): change it to skip other closed days. - The
window.setTimeoutininitForm(): replace it withfetch()to your CRM, booking tool or email endpoint.
Use cases
- Karate, taekwondo and judo schools: programs by age, belt path and trial booking.
- Brazilian jiu-jitsu academies: schedule tabs for gi and no-gi classes.
- Kickboxing and self-defense gyms: rename the program cards and drop the belt section.
Accessibility
A skip link targets #nma-main. Schedule tabs use proper tablist, tab and tabpanel roles from Bootstrap. Star ratings have text labels, today's hours row gets aria-current="date", and every form field has a visible label and inline error. Tap targets are 44px or larger, and prefers-reduced-motion disables smooth scrolling and transitions.
Usage notes
The photos come from Unsplash. Replace them with photos of your own dojo, students and instructors. Fonts: Barlow Semi Condensed and Source Sans 3 (Google Fonts); icons: Bootstrap Icons. The footer credit links to WebDevSnippets and can be kept or removed.