How adityapannu669-collab/nexathon-2026 works
Purpose and Entry Point
Nexathon 2026 is a static, frontend-only hackathon registration and event-information site. The browser entry point is index.html, which defines the page sections, navigation targets, registration form, and modal markup. There is no backend, database, package runtime, or build pipeline.
Paths: index.html, README.md
Page Composition
The single HTML document organizes the landing experience into event information, statistics, schedule/timeline, prizes, sponsors, and registration content. Section IDs provide anchors for desktop/mobile navigation and support active-section tracking.
Paths: index.html
Presentation and Responsive Layout
CSS owns the visual system: responsive breakpoints, desktop/mobile navigation states, light/dark theme styling, timeline presentation, form/modal appearance, and reveal-animation classes. JavaScript changes state through classes and attributes rather than generating the application UI.
Paths: css/style.css, index.html
Client Interaction Controller
A single browser-side script initializes and coordinates interactive behavior after the document loads. It handles navigation menu toggling, theme selection, countdown updates, scroll-driven active navigation, intersection-based reveal effects, registration validation, and success-modal lifecycle.
Paths: js/script.js, index.html
Theme Persistence Boundary
Theme switching is entirely client-side. The selected dark/light mode is read from and written to the browser’s localStorage, then reflected in page-level styling state. This is the only persistent user state; it remains local to the browser.
Paths: js/script.js, css/style.css
Registration Flow
The registration form is a frontend validation workflow: user input is checked for required fields and format/content constraints, validation feedback is presented in the UI, and a successful submission opens an animated confirmation modal without page reload. Submission data is not transmitted or stored, creating a firm boundary between demo UX and real registration processing.
Paths: index.html, js/script.js, css/style.css
Runtime and Deployment
The application runs directly in a modern browser using HTML5, CSS3, and vanilla JavaScript. It uses browser-native localStorage and IntersectionObserver; no external API or service is required at runtime. The static site is deployed on Vercel, with the documented live deployment at https://nexathon-2026.vercel.app/.
Paths: README.md, index.html, js/script.js
Main entry points: script.js Interaction controller · index.html Landing document · README.md Vercel static hosting · style.css Visual system
Components 12
Static site
- Landing document · Defines sections, navigation, form, and modal markup.
index.html - Event sections · Information, stats, schedule, prizes, sponsors, and registration.
index.html - Anchor navigation · Section IDs support desktop/mobile links and active state.
index.html - Registration form · Demo-only submission; data is not sent or stored.
index.html - Success modal
index.html - Visual system · Responsive layout, themes, navigation, timeline, form, modal, and reveal styles.
css/style.css
Browser runtime
- Interaction controller · Coordinates navigation, theme, countdown, reveals, validation, and modal state.
js/script.js - Theme state · Light/dark state is reflected in styling selectors.
index.html - Browser localStorage · Only persistent user state: selected theme.
- IntersectionObserver · Drives scroll-based reveal effects.
Deployment
- Vercel static hosting · Serves the static site.
README.md - Project documentation · Documents runtime and live deployment.
README.md
Connections 16
- Landing document → Event sections: contains
- Landing document → Anchor navigation: defines
- Landing document → Registration form: contains
- Landing document → Success modal: contains
- Landing document → Visual system: loads
- Landing document → Interaction controller: loads
- Anchor navigation → Event sections: anchors to
- Interaction controller → Anchor navigation: toggles and tracks
- Interaction controller → Theme state: sets
- Theme state → Visual system: selects styles
- Interaction controller → Browser localStorage: reads and writes theme
- Interaction controller → IntersectionObserver: uses
- Interaction controller → Registration form: validates
- Interaction controller → Success modal: opens on success
- Vercel static hosting → Landing document: serves
- Project documentation → Vercel static hosting: documents