How jaydipsinh13/college-website works
Project Type and Purpose
• This is a *static* college‐website project built entirely with client-side technologies (HTML, CSS, JavaScript).
• Purpose:
• College home page (index.html)
• Allow students to view fees (fees_page.html + fees_script.js)
• Provide an admission form (Admission_page.html)
• Contact info (Contact_page.html)
• Campus facilities via images
File Structure
• Top-level HTML pages: index.html, Admission_page.html, fees_page.html, Contact_page.html
• css/ directory: contains per-page style sheets and a main_style.css
• javascript/ directory: contains main_script.js and fees_script.js for client-side interactivity
• image/ directory: campus photos
• Poppins/ directory: custom font files and manifest
• README.md confirms hosting on Netlify (static hosting with built-in CDN)
Main Components
A. Client Browser
B. Static Hosting/CDN (Netlify)
C. Static Asset Store
• HTML files
• CSS files
• JavaScript files
• Images and fonts
D. (Optional) Third-party Form Handler – e.g., Netlify Forms or email backend for admissions
Relationships and Data Flows
• Client requests HTML/CSS/JS assets from the CDN
• CDN retrieves from the origin repo or object storage on deploy
• Client executes JS locally (e.g., fees calculator, form validation)
• On admission form submit, client POSTs data to the Form Handler endpoint
• Form Handler → stores/submits data to email or database (external service)
Architectural Patterns & Design Principles
• Static Single Page/Multipage Application pattern
• Client-side rendering for dynamic behaviors (fees calc, form validation)
• CDN for global asset distribution and caching
• Separation of concerns: HTML structure ↔ CSS styling ↔ JS behavior
Technologies & Frameworks
• HTML5 pages (multipage site)
• CSS3 (modular styles per page + shared main stylesheet)
• Plain JavaScript for interactivity
• Netlify (CI/CD + CDN + optional form handling)