A pixel-faithful, fully responsive implementation of the Premier Schools Exhibition landing page, built to the Figma design with semantic HTML5 + custom CSS (BEM) and vanilla JavaScript — no frameworks.
It's a static site — serve the folder with any static server:
# Python
python -m http.server 5500
# or Node
npx serve .Then open http://localhost:5500.
index.html # Semantic markup (header, hero, stats, schools, choose, CTA, exhibition, footer)
css/
style.css # Entry — @imports the partials below, in cascade order
base/
tokens.css # Design tokens (colors, gradients, fonts, layout, motion)
base.css # Reset, base elements, utilities (.sr-only, .skip-link, .container)
components/
buttons.css # Shared split button (.btn-split)
form.css # Glassmorphism "Enquire" form (.enquire, .field)
slider.css # Reusable scroll-snap slider (.slider, dots, arrows)
sections/
header.css # Sticky header, hero ↔ scrolled states
hero.css # Hero layout, venue badge, photo collage
stats.css # Laurel-wreath stat blocks
schools.css # Logo marquees
choose.css # "Choose the school" cards
preschedule.css # Pre-schedule CTA
exhibition.css # Exhibition highlights
footer.css # Footer
responsive.css # Reduced-motion + all media queries (loaded last)
js/
main.js # ES module entry — boots each feature on DOM ready
modules/
utils.js # Shared helpers (reduceMotion query, debounce)
collage.js # Hero collage auto-scroll + pause toggle
form.js # Accessible form validation
slider.js # Reusable slider controller (dots + arrows)
header.js # Header hero ↔ scrolled state toggle
assets/
images/ # Hero collage photos, school cards, CTA photo, logos (exported & optimized from Figma)
logos/ # Participating-school logo strips (marquee)
icons/ # Exhibition feature icons (SVG, exported from Figma)
| Section | Highlights |
|---|---|
| Hero | Dual-axis photo collage (vertical auto-scroll columns on desktop → horizontal band on mobile), pause on hover/focus + explicit pause button, gold gradient headline, glassmorphism "Enquire Now" form with accessible validation. |
| Stats | Laurel-wreath stat blocks (1M+ Parents · 22+ Years · 500+ Schools · 17 Cities). |
| Participating Schools | Two continuous logo marquees, alternating left↔right flow, pause on hover/focus. |
| Choose the School | 4-up image cards on desktop → swipeable slider with pagination dots on mobile. |
| Pre-schedule CTA | Lavender panel + photo, "Pre-schedule Now" action. |
| Exhibition Highlights | Section-wide slider (5 cards) with accessible prev/next arrows + dots, native swipe. |
| Footer | Offices, phone, social links, copyright. |
- Skip-to-content link, semantic landmarks (
header/main/footer/sectionwith labels). - Keyboard operable: focusable scroll regions, real
<button>controls, visible focus rings. - Screen-reader support:
aria-label/aria-roledescriptionon carousels, decorative images use emptyalt, liverole="alert"/role="status"for form messages. - Every animation honours
prefers-reduced-motion(collage, marquees, slider scrolling, transitions). - axe-core: 0 violations. W3C HTML validator: 0 errors / 0 warnings.
Vendor-prefixed backdrop-filter, mask-image, background-clip, user-select for Chrome / Firefox / Safari / Edge (latest 2) + iOS/Android. Graceful colour fallbacks are provided for gradient-clipped text.
- Fonts. The Figma file uses Museo Sans (a paid/demo font) for the gold headline lines "Discover Gurugram's" and "All In One Place". As it isn't freely redistributable, it's substituted with Poppins (closest free geometric match). The stylised "Top 30+ Schools" is the exact Figma vector (inline-quality SVG), so it's pixel-accurate. Body text uses Open Sans and the form heading uses Archivo — both as in the design (loaded from Google Fonts).
- Footer social icons are recreated as crisp inline SVG (Facebook, Instagram, YouTube). The third platform is an assumption — update the icon/
hrefif it differs. - Forms are front-end only (validation + success state, no backend), per spec. The hero form and CTA can be wired to an endpoint later.
- Responsive layouts for tablet/mobile were designed to match the desktop Figma (the file contained only the 1920px desktop frame).
- All imagery was exported from the Figma file and optimised (resized + recompressed) for the web.
W3C Jigsaw flags mask-image and pointer-events as "unknown" — these are valid, widely-supported standard CSS that Jigsaw's profile predates; -webkit- fallbacks are included. No genuine CSS errors remain.