A modern, responsive multilingual website for Beyond Limits Online Tuition Classes serving students from Classes 6 to 12.
- Multi-language Support: English, Hindi (เคนเคฟเคจเฅเคฆเฅ), Tamil (เฎคเฎฎเฎฟเฎดเฏ)
- Responsive Design: Works perfectly on desktop, tablet, and mobile
- Modern UI: Clean design with smooth animations and transitions
- WhatsApp Integration: Direct contact via WhatsApp for quick responses
- Comprehensive Coverage: All subjects for Classes 6-12
- Competitive Exam Prep: JEE, NEET, and Olympiad coaching
- Sticky Navigation: Easy access to all sections while scrolling
- Professional Contact Cards: Detailed educator information
- HTML5: Semantic markup with accessibility features
- CSS3: Modern styling with Flexbox, Grid, custom properties, and smooth animations
- Vanilla JavaScript: Dynamic language switching with async JSON loading
- No Dependencies: Zero build process, no frameworks required
# Clone the repository
git clone https://github.com/nihal467/Beyond-Limit.git
cd Beyond-Limit
# Start a local server (required for translations to work)
python3 -m http.server 8000
# Open in browser
# Visit: http://localhost:8000open index.html
# Note: Translations won't work due to CORS restrictions with file:// protocolInstall "Live Server" extension in VS Code and click "Go Live"
Beyond-Limits/
โโโ index.html # Main HTML file
โโโ script.js # JavaScript (translations + interactions)
โโโ styles.css # All CSS styles
โโโ CNAME # GitHub Pages domain configuration
โโโ README.md # This file
โโโ .gitignore # Git ignore rules
โโโ Public/ # Static assets
โ โโโ logo.png # Website logo
โโโ translations/ # Language files
โโโ README.md # Translation guide
โโโ en.json # English translations
โโโ hi.json # Hindi translations
โโโ ta.json # Tamil translations
The website supports three languages with a dropdown selector in the navigation bar.
- JSON files in
translations/contain all text content - HTML elements use
data-i18nattributes to identify translatable content - JavaScript dynamically loads and applies translations
- User's language preference is saved in browser localStorage
-
Edit existing translations:
- Open
translations/en.json,hi.json, orta.json - Modify the text values (keep the keys unchanged)
- Save and refresh browser
- Open
-
Add new translatable content:
- Add
data-i18n="section.key"attribute to HTML element - Add the key-value pair to all three JSON files
- Example:
<h1 data-i18n="hero.title">Online Tuition for Classes 6โ12</h1>
{ "hero": { "title": "Online Tuition for Classes 6โ12" } } - Add
-
Add a new language:
- Create
translations/xx.json(e.g.,fr.jsonfor French) - Copy structure from
en.jsonand translate - Add to dropdown in
index.html:<option value="fr">Franรงais</option>
- Update
script.jsto load new language:await Promise.all([ loadTranslation('en'), loadTranslation('hi'), loadTranslation('ta'), loadTranslation('fr') // Add here ]);
- Create
See translations/README.md for detailed translation guide.
Edit CSS variables in styles.css:
:root {
--primary-color: #2563eb; /* Main brand color */
--secondary-color: #10b981; /* Accent color */
--accent-color: #8b5cf6; /* Additional accent */
--dark-color: #1e293b; /* Dark text/bg */
--light-color: #f8fafc; /* Light bg */
}Replace the Unsplash image URLs in index.html with your own images, or use the placeholder images.
- Replace
Public/logo.pngwith your logo - Update the brand text in the navigation bar
- Modify the website title and meta tags in
<head>
- Desktop: > 1024px
- Tablet: 768px - 1024px
- Mobile: < 768px
Mobile menu activates below 768px width.
- No API keys or secrets in repository
.gitignoreprevents accidental secret commits- Translation files are safe to commit
- Push to GitHub
- Go to Settings โ Pages
- Select branch:
main - Site will be live at:
https://yourusername.github.io/repo-name
- Add
CNAMEfile with your domain (already included) - Configure DNS settings at your domain provider
- Point to GitHub Pages servers
Upload all files to any static hosting service:
- Netlify
- Vercel
- Cloudflare Pages
- AWS S3 + CloudFront
- Chrome/Edge: โ Latest
- Firefox: โ Latest
- Safari: โ Latest
- Mobile Browsers: โ iOS Safari, Chrome Android
Requires JavaScript enabled for language switching.
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
MIT License - feel free to use for your own projects!
Built with โค๏ธ for quality education