Beautiful, interactive English lessons with audio support
Two complete pre-intermediate English lessons converted from PDF textbook to interactive web format.
๐ View Live Demo โ
Main Page ๐
open index.htmlUnit 01: Weather ๐ค๏ธ
open weather_lesson_complete.htmlUnit 02: People ๐ฅ
open people_lesson.htmlIf deployed to GitHub Pages:
- Main Page:
https://your-username.github.io/english-weather-lesson/ - Unit 01:
https://your-username.github.io/english-weather-lesson/weather_lesson_complete.html - Unit 02:
https://your-username.github.io/english-weather-lesson/people_lesson.html
Grammar:
- Present Simple vs Present Continuous
- Question formation
Vocabulary:
- Weather types (blizzard, drought, hurricane, storm)
- Modifiers (very, quite, extremely)
- Adventure activities
Features:
- 8 interactive sections
- 25+ exercises with instant feedback
- 50+ questions
- 80+ audio files with pronunciation
- Reading: "The Big Chill" (Siberia)
- Scenario: Planning adventure holidays
File: weather_lesson_complete.html
Grammar:
- Past Simple (regular & irregular verbs)
- Past Continuous
- Time expressions (in, on, at)
Vocabulary:
- 10 personality adjectives (dedicated, determined, friendly...)
- Opposite adjectives (polite-rude, friendly-unfriendly...)
- Describing appearance and character
Features:
- 6 interactive sections
- 30+ exercises with instant feedback
- 60+ questions
- 49 audio files with pronunciation
- Reading: Kenyan marathon runner story
- Biography: Frida Kahlo (1907-1954)
- Learning styles questionnaire (24 questions!)
- Writing: Keeping a learning diary
File: people_lesson.html
- โ Interactive exercises - Multiple choice, fill-in-blanks, true/false
- โ Instant feedback - See results immediately with color coding
- โ Audio pronunciation - ๐ buttons for all vocabulary and texts
- โ Progress tracking - Visual progress bar shows completion
- โ Mobile responsive - Works perfectly on phones and tablets
- โ Keyboard navigation - Use arrow keys โ โ to navigate
- โ Offline ready - No internet needed after loading
- โ Easy deployment - Single HTML file, works anywhere
- โ 100% coverage - All exercises from original textbook
- โ Reusable framework - Shared CSS/JS for creating new lessons
- โ Professional audio - OpenAI TTS with natural voice
- โ Open source - Customize and extend as needed
| Metric | Unit 01 | Unit 02 | Total |
|---|---|---|---|
| Sections | 8 | 6 | 14 |
| Exercises | 25+ | 30+ | 55+ |
| Questions | 50+ | 60+ | 110+ |
| Audio Files | 74 | 49 | 123 |
| Vocabulary Items | 30+ | 20+ | 50+ |
Total Project:
- ๐ฏ 2 complete units
- ๐ 110+ interactive questions
- ๐ 123 audio files
- ๐ฑ 100% mobile responsive
- ๐ Zero dependencies
Both lessons use the same reusable components:
- Beautiful gradient header
- Interactive quiz components
- Vocabulary cards
- Info boxes (tips, warnings, success)
- Responsive design
- Print-friendly styles
- Navigation system
- Exercise checking functions
- Audio playback
- Score calculation
- Keyboard controls
Create new lessons easily by reusing these files!
All audio generated using OpenAI TTS API with "Nova" voice (female, natural).
To regenerate or add new audio:
# Install dependencies
pip3 install openai python-dotenv
# Create .env file
echo "OPENAI_API_KEY=your_key_here" > .env
# Generate Unit 01 audio
python3 generate_audio_unit01.py
# Generate Unit 02 audio
python3 generate_audio_unit02.pyUnit 01: Weather words, definitions, examples, reading texts, grammar examples, discussion questions
Unit 02: Personality adjectives, Frida Kahlo biography, Chimokel story, time expressions, opposites
| Browser | Desktop | Mobile |
|---|---|---|
| Chrome | โ | โ |
| Firefox | โ | โ |
| Safari | โ | โ |
| Edge | โ | โ |
Already set up! Just push changes:
git add .
git commit -m "Add Unit 02"
git pushYour site updates automatically at: https://your-username.github.io/english-weather-lesson/
# Python 3
python3 -m http.server 8000
# Then open: http://localhost:8000- Vercel: Connect GitHub repo, auto-deploy
- Netlify: Drag & drop folder
- Any web server: Upload files, done!
Full guide available in: HOW_TO_CREATE_LESSONS.md
-
Copy template
cp people_lesson.html unit03_lesson.html
-
Link shared resources
<link rel="stylesheet" href="lesson.css"> <script src="lesson.js"></script>
-
Add your content
- Update sections
- Add exercises
- Create audio JSON
-
Generate audio
python3 generate_audio_unit03.py
-
Test and deploy!
english-weather-lesson/
โโโ ๐ MAIN PAGE
โ โโโ index.html # Lesson selection page
โ
โโโ ๐จ SHARED FRAMEWORK
โ โโโ lesson.css # Shared styles
โ โโโ lesson.js # Shared functions
โ
โโโ ๐ UNIT 01: WEATHER
โ โโโ weather_lesson_complete.html
โ โโโ audio_texts_unit01.json
โ โโโ generate_audio_unit01.py
โ
โโโ ๐ฅ UNIT 02: PEOPLE
โ โโโ people_lesson.html
โ โโโ audio_texts_unit02.json
โ โโโ generate_audio_unit02.py
โ
โโโ ๐ AUDIO
โ โโโ audio/ # 123 MP3 files
โ
โโโ ๐ DOCUMENTATION
โ โโโ README.md # This file
โ โโโ HOW_TO_CREATE_LESSONS.md # Complete guide
โ โโโ PROJECT_README.md # Project overview
โ โโโ Unit_02_People.md # Source content
โ
โโโ ๐ SOURCE
โโโ Unit_02_People.md # Markdown source
- HTML5 - Semantic structure
- CSS3 - Modern styling (Grid, Flexbox, Animations)
- Vanilla JavaScript - No frameworks, no dependencies!
- OpenAI TTS - Natural voice audio generation
- Python 3 - Audio generation scripts
Why no frameworks?
- โ Fast loading
- โ Works anywhere
- โ Easy to understand
- โ Future-proof
- โ No build step
A2-B1 (Pre-Intermediate)
- โ Reading comprehension
- โ Grammar practice
- โ Vocabulary building
- โ Listening (with audio)
- โ Writing tasks
- โ Speaking prompts
- Immediate feedback - Students see results instantly
- Gamification - Progress bars, scores, encouraging messages
- Multimedia - Audio + text + interactive elements
- Self-paced - Students control their own learning
- Accessible - Works on any device, anywhere, anytime
- Multiple Choice - Grammar and vocabulary questions
- Fill in the Blanks - Complete texts and dialogues
- True/False/Not Say - Reading comprehension
- Matching - Connect related items
- Dropdown Selection - Choose from options
- Ordering - Put events in sequence
- Writing Tasks - Free text responses
- Questionnaires - Learning styles assessment
- Unit 03: The Media
- Unit 04: Free Time
- Dark mode toggle
- LocalStorage for progress saving
- Student dashboard
- Achievement system
- More interactive exercises
- Video integration
- HOW_TO_CREATE_LESSONS.md - Step-by-step guide
- PROJECT_README.md - Complete project overview
Based on "Language Leader Pre-Intermediate" by Pearson Education. For educational purposes only.
The interactive framework (HTML/CSS/JavaScript) is open source. Feel free to use and adapt for your own lessons!
Generated using OpenAI Text-to-Speech API.
- Pearson Education - Original textbook content
- OpenAI - Text-to-speech technology
- Students and teachers - Feedback and testing
Questions? Issues? Suggestions?
- Read the complete guide
- Check existing lessons for examples
- Open an issue on GitHub
- โ 2 complete units created
- โ 110+ questions with instant feedback
- โ 123 audio files for pronunciation
- โ 100% mobile responsive
- โ Zero dependencies - pure vanilla JS
- โ Easy to extend - reusable framework
Made with โค๏ธ for English language learners
Happy Learning! ๐โจ
- ๐ Main Page
- ๐ค๏ธ Unit 01: Weather
- ๐ฅ Unit 02: People
- ๐ How to Create Lessons
- ๐ Project Overview