A modern, responsive, fully-functional childcare services website built with HTML5, CSS3, and Vanilla JavaScriptβno frameworks, no build tools required.
- 8 Complete Pages: Homepage, About, Programs, Enrollment, Gallery, Resources, FAQ, Contact
- Fully Responsive: Mobile-first design that works perfectly on all devices
- Modern UI/UX: Professional design with smooth animations and transitions
- Form Validation: Real-time validation with helpful error messages
- Photo Gallery: Lightbox functionality with filtering and keyboard support
- Interactive Elements: Carousels, accordions, tabs, counters with Intersection Observer
- Accessibility: WCAG 2.1 AA compliance with semantic HTML and ARIA labels
- SEO Optimized: JSON-LD schema markup, meta descriptions, Open Graph tags
- No Dependencies: Pure HTML, CSS, and JavaScriptβrun directly in any browser
βββ index.html # Homepage
βββ about.html # About Us page
βββ programs.html # Programs & Curriculum
βββ enrollment.html # Enrollment Application
βββ gallery.html # Photo Gallery
βββ resources.html # Parent Resources & Downloads
βββ faq.html # Frequently Asked Questions
βββ contact.html # Contact & Tour Booking
βββ css/
β βββ style.css # Global styles & components (1200+ lines)
β βββ responsive.css # Media queries for all breakpoints (500+ lines)
βββ js/
β βββ main.js # Shared functionality (navigation, scrolling, etc.)
β βββ gallery.js # Gallery filtering & lightbox
β βββ form.js # Form validation & submission (400+ lines)
βββ images/ # Image placeholder directory
- Clone or download this repository
- Open
index.htmlin any modern web browser - Start usingβno build process needed!
- Install "Live Server" extension in VS Code
- Right-click
index.htmlβ "Open with Live Server" - Browser automatically refreshes on file changes
- Primary: #2E86AB (Blue)
- Secondary: #F6AE2D (Gold)
- Accent: #F26419 (Orange)
- Success: #43AA8B (Green)
- Error: #E63946 (Red)
- Background: #F7F9FC (Off-white)
- Text: #1A1A2E (Navy)
- Headings: Nunito (400, 600, 700)
- Body: Open Sans (400, 600, 700)
- Both via Google Fonts CDN
- Consistent spacing scale: 4px, 8px, 12px, 16px, 24px, 32px, 48px, 64px
- CSS variables for easy customization
- Mobile: 320px - 767px
- Tablet: 768px - 1023px
- Desktop: 1024px - 1439px
- Large Screens: 1440px+
- HTML5: Semantic markup with accessibility best practices
- CSS3: Custom properties (variables), Flexbox, CSS Grid
- Vanilla JavaScript: Intersection Observer API, Event delegation, Form APIs
- Icons: Font Awesome 6.4.0 (CDN)
- Fonts: Google Fonts CDN
- Hero section with CTA buttons
- Trust badges
- "Why Choose Us" feature cards
- Programs overview
- Animated stats counters
- Testimonials carousel
- Blog preview section
- Newsletter signup
- Company story (2-column layout)
- Mission & vision statements
- 6 core values icon grid
- 4-member team profiles
- Accreditations section
- Parent testimonial banner
- 5 tabbed program descriptions (Infant, Toddler, Preschool, After School, Summer)
- Daily schedule timeline for each program
- Curriculum highlights
- Pricing information
- Staff ratios
- Programs comparison table
- 4-step enrollment process visualization
- Complete enrollment application form
- Parent & child information sections
- Required documents checklist
- Tuition & fees accordion
- Financial assistance information
- CCAP & FSA details
- 20 image tiles with masonry grid layout
- Filter buttons (All, Classrooms, Outdoor, Activities, Events, Meals)
- Lightbox with prev/next navigation
- Keyboard support (Escape, arrow keys)
- Swipe support for mobile
- Video placeholder tiles
- Parent portal login CTA
- 6 downloadable forms (PDF & Word)
- 6 center policies accordion
- Parenting resources with external links
- Monthly newsletter previews
- Helpful external resource links (CDC, USDA, etc.)
- Live search functionality
- 35+ FAQ items organized by category:
- Enrollment & Admission
- Programs & Curriculum
- Health & Safety
- Billing & Payment
- Daily Operations
- Transitions & Special Support
- "Still have questions?" CTA
- 2-column layout (Contact Info + Tour Booking Form)
- Address, phone, email, hours
- Embedded Google Maps
- Tour booking form with validation
- Social media links
- Newsletter signup
- Emergency closure banner
- Email, phone, date, required field validation
- Phone number auto-formatting to (XXX) XXX-XXXX
- Character counters for textareas
- Visual error messages below fields
- Stats counters animate from 0 upward when scrolled into view
- Testimonial carousel auto-rotates on mobile
- Fade-in effects on element scroll
- Intersection Observer for performance
- Filter images by category in real-time
- Click image to open fullscreen lightbox
- Navigate with prev/next buttons or keyboard arrows
- Escape key closes lightbox
- Swipe support for touch devices
- Fixed header with hamburger menu on mobile
- Desktop menu automatically shows/hides on small screens
- Mobile menu closes on link click or outside click
- Active page indicator in navigation
Replace "Sunshine Sprouts" throughout HTML files with your center's name.
Edit CSS variables in css/style.css :root block:
:root {
--primary: #2E86AB; /* Change to your primary color */
--secondary: #F6AE2D; /* Change to your secondary color */
/* ... other variables ... */
}Search for these values and update:
- "123 Sunshine Lane, Springfield, IL 62701" β Your address
- "(555) 123-4567" β Your phone
- "info@sunshinesprouts.com" β Your email
All content is in HTML files. Simply edit text, add/remove sections, or update pricing.
- No Build Tools: Instant loadβno compilation needed
- CSS Variables: Smaller CSS size through reuse
- GPU-Accelerated Animations: Uses transform/opacity only
- Lazy Loading Ready: img tags support data-src for lazy loading
- Intersection Observer: Efficient scroll animations (only runs when visible)
- β WCAG 2.1 AA contrast ratios (4.5:1 text, 3:1 UI)
- β Semantic HTML (header, nav, main, section, footer, article)
- β ARIA labels on form fields and interactive elements
- β Keyboard navigation support
- β Skip-to-content link
- β Focus indicators on all interactive elements
- β Prefers-reduced-motion support (disables animations for users who request it)
- β JSON-LD schema markup (Organization, ChildCare business type)
- β Meta descriptions on all pages
- β Open Graph tags for social media sharing
- β Twitter Card tags
- β Canonical URLs
- β Semantic HTML structure
- β Mobile-friendly viewport
- β Chrome/Edge (all modern versions)
- β Firefox (all modern versions)
- β Safari (iOS 12.2+, macOS 10.14+)
- β Mobile browsers (all modern versions)
This website is designed for Sunshine Sprouts Child Care Center. Feel free to customize it for your childcare business.
For issues or questions about the website:
- Check the FAQ page (faq.html)
- Review the code comments in js/ and css/ files
- Ensure all files are in the correct directory structure
- Test in multiple browsers to isolate issues
- Push to GitHub repository
- Go to Settings β Pages
- Select main branch as source
- Site publishes automatically
- Connect GitHub repository
- Set build command to empty (static site)
- Set publish directory to root (/)
- Deploy with one click
- Connect GitHub repository
- Import project
- Configure project settings
- Deploy automatically
All options provide free HTTPS, custom domains, and automatic deployments on git push.
Made with β€οΈ for Sunshine Sprouts Child Care Center
Version 1.0 | Built with HTML5, CSS3 & Vanilla JavaScript | No frameworks, no build tools