Skip to content

nihal467/beyondlimits

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

26 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Beyond Limits - Online Learning Hub

A modern, responsive multilingual website for Beyond Limits Online Tuition Classes serving students from Classes 6 to 12.

๐ŸŒŸ Features

  • 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

๐Ÿ› ๏ธ Tech Stack

  • 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

๐Ÿš€ Quick Start

Option 1: Local Server (Recommended for development)

# 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:8000

Option 2: Direct Open (Limited functionality)

open index.html
# Note: Translations won't work due to CORS restrictions with file:// protocol

Option 3: Live Server (VS Code)

Install "Live Server" extension in VS Code and click "Go Live"

๐Ÿ“ Project Structure

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

๐ŸŒ Multi-Language System

The website supports three languages with a dropdown selector in the navigation bar.

How It Works

  1. JSON files in translations/ contain all text content
  2. HTML elements use data-i18n attributes to identify translatable content
  3. JavaScript dynamically loads and applies translations
  4. User's language preference is saved in browser localStorage

Adding/Editing Translations

  1. Edit existing translations:

    • Open translations/en.json, hi.json, or ta.json
    • Modify the text values (keep the keys unchanged)
    • Save and refresh browser
  2. 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"
      }
    }
  3. Add a new language:

    • Create translations/xx.json (e.g., fr.json for French)
    • Copy structure from en.json and translate
    • Add to dropdown in index.html:
      <option value="fr">Franรงais</option>
    • Update script.js to load new language:
      await Promise.all([
          loadTranslation('en'),
          loadTranslation('hi'),
          loadTranslation('ta'),
          loadTranslation('fr')  // Add here
      ]);

See translations/README.md for detailed translation guide.

๐ŸŽจ Customization

Colors

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 */
}

Images

Replace the Unsplash image URLs in index.html with your own images, or use the placeholder images.

Branding

  • Replace Public/logo.png with your logo
  • Update the brand text in the navigation bar
  • Modify the website title and meta tags in <head>

๐Ÿ“ฑ Responsive Breakpoints

  • Desktop: > 1024px
  • Tablet: 768px - 1024px
  • Mobile: < 768px

Mobile menu activates below 768px width.

๐Ÿ”’ Security

  • No API keys or secrets in repository
  • .gitignore prevents accidental secret commits
  • Translation files are safe to commit

๐ŸŒ Deployment

GitHub Pages

  1. Push to GitHub
  2. Go to Settings โ†’ Pages
  3. Select branch: main
  4. Site will be live at: https://yourusername.github.io/repo-name

Custom Domain

  1. Add CNAME file with your domain (already included)
  2. Configure DNS settings at your domain provider
  3. Point to GitHub Pages servers

Other Hosting

Upload all files to any static hosting service:

  • Netlify
  • Vercel
  • Cloudflare Pages
  • AWS S3 + CloudFront

๐Ÿ“Š Browser Support

  • Chrome/Edge: โœ… Latest
  • Firefox: โœ… Latest
  • Safari: โœ… Latest
  • Mobile Browsers: โœ… iOS Safari, Chrome Android

Requires JavaScript enabled for language switching.

๐Ÿค Contributing

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

๐Ÿ“ License

MIT License - feel free to use for your own projects!


Built with โค๏ธ for quality education

About

Responsive multilingual online tuition website for Classes 6-12 with WhatsApp contact and language switching.

Resources

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors