This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
This is a static HTML5 website for CodeSphere, an online coding classes business serving students in grades 3-12. The site is deployed to GitHub Pages and serves as a showcase for the business. It's a single-page application with no backend server or build process required.
Technologies: HTML5, CSS3, jQuery 3.x, Bootstrap 4.5.2, Owl Carousel, Slick Slider, Lightbox.js, Magnific Popup
Important: This project uses only statically-renderable components to maintain simplicity and compatibility with GitHub Pages static hosting.
# Open the site directly in a browser
start index.html
# OR on Mac/Linux
open index.htmlNo build process, package installation, or development server is required. Simply open index.html in a browser.
Deployment is fully automated via GitHub Actions (.github/workflows/static.yml):
- Automatic: Any commit to
mainbranch triggers the GitHub Action workflow - Immediate: Changes are deployed automatically to GitHub Pages
- No manual steps: Simply commit your changes and the action handles deployment
- Static-Only: All components must be statically renderable (no server-side processing)
- Simple Structure: Project structure is kept intentionally simple for easy maintenance
- Auto-Deploy: GitHub Actions automatically deploy on commit to main branch
├── index.html # Single-page entry point
├── assets/
│ ├── css/ # All stylesheets
│ │ └── templatemo-grad-school.css # Main custom styles
│ ├── js/ # JavaScript files
│ │ └── custom.js # jQuery initialization and custom logic
│ ├── images/ # All image assets
│ └── fonts/ # Web fonts (FontAwesome, Flaticon)
├── vendor/ # Third-party libraries (Bootstrap, jQuery)
└── .github/workflows/ # GitHub Actions for automated deployment
└── static.yml # Deployment workflow
All JavaScript is loaded in this order (defined in index.html):
- jQuery - Core DOM manipulation library
- Bootstrap JS - Modal and dropdown functionality
- Isotope - Layout and filtering
- Owl Carousel - Responsive carousel for courses
- Lightbox - Image gallery functionality
- jQuery UI Tabs - Tabbed content sections
- Video.js - Video popup functionality
- Slick Slider - Content slider
- custom.js - Custom initialization code (runs on document ready)
- Bootstrap base styles
- FontAwesome icons
- Plugin-specific CSS (owl, lightbox, flex-slider)
templatemo-grad-school.css- Custom styles (loads last to override)
The main stylesheet uses these breakpoints (in assets/css/templatemo-grad-school.css):
- 1200px - Large desktop adjustments
- 1000px - Tablet landscape
- 750px - Tablet portrait
- 550px - Mobile landscape
- 50px - Very small screens
The HTML is divided into these main sections (linked via smooth-scroll navigation):
- Header - Fixed navigation menu
- Main Banner - Hero section with video background (
course-video.mp4) - Features - Highlighted features grid showcasing CodeSphere's offerings
- Why Choose Us - Tabbed content section (jQuery UI Tabs)
- Coming Soon - Registration section with countdown timer
- Courses - Owl Carousel showcase of coding classes for grades 3-12
- Video Section - YouTube embed via Magnific Popup
- Contact - Form section (static form - requires backend to function)
- Footer - Links and copyright
All content is in index.html. To modify a section:
- Find the section by its
idattribute (e.g.,<section id="features">) - Edit the HTML directly
- Corresponding styles are in
assets/css/templatemo-grad-school.cssunder section-specific classes
The Owl Carousel is initialized in assets/js/custom.js:
$('.owl-carousel').owlCarousel({
responsive: {
0: { items: 1 },
600: { items: 2 },
1000: { items: 4 },
1200: { items: 5 }
}
});Modify this configuration to change responsive behavior.
The hero section uses assets/images/course-video.mp4 as a background video. Replace this file to change the background video (keep the same filename or update the <source> tag in index.html).
The contact form in index.html is currently HTML-only. To make it functional:
- Add a backend endpoint (not included in this static site)
- Update the form
actionattribute - Add JavaScript validation in
custom.js
All images are in assets/images/:
- Course images:
courses-*.jpg(5 files) - Instructor avatars:
author-*.png(5 files) - Feature images:
choose-us-image-*.png(3 files) - Slider images:
main-slider-*.jpg(3 files) - Background images:
*-bg.jpgfiles
Replace these files to customize visuals (maintain filenames or update references in HTML/CSS).
Primary color scheme is defined in assets/css/templatemo-grad-school.css. Search for hex color values like:
#f5a425- Orange accent color#1e1e1e- Dark backgrounds#fff- White text/backgrounds
To add new CodeSphere coding classes, in index.html, find the <div class="owl-carousel"> section and duplicate an <div class="item"> block. Update:
- Image source (
<img src="assets/images/courses-*.jpg">) - Instructor avatar (
<img src="assets/images/author-*.png">) - Course title, description, grade level, and metadata
Edit the <nav> element in index.html. Each menu item uses smooth-scroll linking:
<a href="#section-id">Menu Item</a>The #section-id must match a section's id attribute on the page.
The CodeSphere website is automatically deployed via .github/workflows/static.yml:
- Trigger: Any push/commit to
mainbranch - Permissions: Requires Pages and id-token write permissions
- Artifacts: Uploads entire repository root
- URL: Auto-configured by GitHub Pages settings
- Workflow: Fully automated - just commit your changes and they'll be live within minutes
To modify deployment behavior, edit the workflow file or GitHub repository settings.
This website showcases CodeSphere's online coding classes for students in grades 3-12. When making changes:
- Keep the focus on education and coding for young students
- Ensure all components remain static and simple
- Remember that content should appeal to both students and parents
- Maintain the professional yet approachable tone suitable for an educational business