Skip to content

Dance School Homepage

Dance school homepage with ballet, hip hop and salsa classes filtered by age group, a weekly timetable, recital dates, teachers, opening hours and a free trial class form.

Also known as: dance studio website, dance academy homepage, ballet school website, dance class landing page

Dance School Homepage live demo

Open in new tab

Bootstrap 5 code (HTML, CSS, JS)

A bright one-page dance school homepage built with Bootstrap 5 for a fictional academy, Allegra Dance Academy. Use it as a dance studio website template, a ballet school homepage or a dance class landing page: it covers classes and prices, a weekly timetable, recitals, teachers and free trial booking.

How it works

Everything sits inside .ds-page: Outfit headings, Nunito Sans text, magenta and indigo accents.

  • Navbar: sticky, with phone and trial button. Below 992 px the links move into the offcanvas #ds-menu, which closes after a link is tapped.
  • Hero: headline, two calls to action and .ds-facts, next to .ds-mosaic, a three-photo grid with style chips.
  • Classes: .ds-filter buttons filter the .ds-class cards by the age groups in data-ds-ages and announce the result in a live region.
  • Timetable: Bootstrap tabs, one .tab-pane per day with a .ds-slots list. The script opens the tab for today and marks it with .ds-today.
  • Recitals: .ds-event rows. Each data-ds-offset is a number of days from today; the script moves it to the next Friday or Saturday and prints it without a year.
  • More sections: owner story, .ds-why tiles, .ds-gallery, star-rated .ds-review cards and .ds-member teacher cards.
  • Offer and FAQ: .ds-offer and the accordion #ds-faq-list.
  • Hours and location: the [data-ds-hours] table highlights today's row and shows an "Open now" or "Closed now" badge from data-ds-open and data-ds-close. .ds-map is a static SVG map with a "Get directions" link.
  • Enrolment form: [data-ds-form] uses Bootstrap validation. The trial-day select is filled with the next eight class days, and a valid submit shows the success alert.

Customization

  • --ds-magenta and --ds-indigo on .ds-page: change the two brand colours used by buttons, chips, tabs and the offer band.
  • --ds-display on .ds-page: swap Outfit for another heading font.
  • data-ds-ages on each class column: list the age groups (tots, kids, teens, adults) that should match the filter buttons.
  • data-ds-open / data-ds-close on each hours row: set your own opening times in 24-hour format; leave them out for a closed day.
  • data-ds-offset on .ds-event__date: move an event closer or further away.
  • The setTimeout in initForm() in script.js: replace it with fetch() to your booking system or form endpoint.

The photos come from Unsplash; replace them with your own studio and teacher photos. The footer credit links to WebDevSnippets and can be kept or removed.

Use cases

  • Dance studios and academies: present styles, prices and the timetable on one page.
  • Ballet schools: show graded classes, exam sessions and recital dates.
  • Salsa and adult dance clubs: promote drop-in socials and beginner passes.
  • Kids activity centres: let parents filter classes by age and book a trial.

Accessibility

A skip link and labelled sections give a clear outline. Filter buttons use aria-pressed, tabs and the accordion use Bootstrap's ARIA attributes, today's hours row gets aria-current="date", and the success message uses role="status". Focus rings are visible, tap targets are at least 44 px and smooth scrolling is disabled for prefers-reduced-motion.

Dance School Homepage at a glance

Framework
Bootstrap 5
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Bootstrap 5, Bootstrap Icons, fonts.googleapis.com
Layout
Responsive, works on mobile
Category
Home Pages
License
Free for personal and commercial use

Questions about this template

Can I use the Dance School Homepage code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

Load Bootstrap 5 and Bootstrap Icons and fonts.googleapis.com from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

Requirements

Add these to your page (already included in the download):

  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css">
  • <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
  • <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
  • <link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Nunito+Sans:wght@400;600;700;800&family=Outfit:wght@500;600;700&display=swap">
Dance School Homepage – free Bootstrap 5 home page template
Dance School Homepage · free Bootstrap 5 home page template

More Home Pages

Restaurant Homepage Template – free Bootstrap 6 home page template

Restaurant Homepage Template

Dark Bootstrap 6 restaurant homepage with a photo hero, live opening status, tabbed menu highlights, chef story, reviews, a datepicker reservation form and footer.

Music Band Homepage Template – free Bootstrap 6 home page template

Music Band Homepage Template

Dark Bootstrap 6 music band homepage with a photo hero, relative tour dates with a region filter, album tracklists, video dialog, press quotes and a mailing list form.

Event Conference Homepage Template – free Bootstrap 6 home page template

Event Conference Homepage Template

Dark Bootstrap 6 tech conference homepage template with a live countdown hero, speaker dialogs, two-day schedule tabs with track filters, ticket tiers with a team Range slider and FAQ.

Fitness Gym Homepage Template – free Bootstrap 6 home page template

Fitness Gym Homepage Template

Dark Bootstrap 6 gym homepage with drawer navbar, photo hero, programs, a weekly class timetable, membership plans with a range-based recommender, coaches and a free-pass form.

Barbershop Homepage Template – free Bootstrap 6 home page template

Barbershop Homepage Template

Dark Bootstrap 6 barbershop homepage with a drawer navbar, price-list tabs, barber cards, a booking form with Combobox and Datepicker, reviews, live opening hours and a footer.

Interior Design Homepage Template – free Bootstrap 6 home page template

Interior Design Homepage Template

Warm Bootstrap 6 interior design homepage with arched photo hero, services, tabbed portfolio, before/after range slider, process accordion, reviews and a consultation form with datepicker.