Skip to content

zsand/english-weather-lesson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐Ÿ“š Interactive English Lessons

Beautiful, interactive English lessons with audio support

Two complete pre-intermediate English lessons converted from PDF textbook to interactive web format.

๐Ÿ”— View Live Demo โ†’


๐Ÿš€ Quick Start

View Lessons

Main Page ๐Ÿ 

open index.html

Unit 01: Weather ๐ŸŒค๏ธ

open weather_lesson_complete.html

Unit 02: People ๐Ÿ‘ฅ

open people_lesson.html

Online Access

If 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

๐Ÿ“– Available Lessons

Unit 01: Weather ๐ŸŒค๏ธ

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


Unit 02: People ๐Ÿ‘ฅ

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


โœจ Features

For Students ๐ŸŽ“

  • โœ… 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

For Teachers ๐Ÿ‘จโ€๐Ÿซ

  • โœ… 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

๐Ÿ“Š Statistics

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

๐ŸŽจ Shared Framework

Both lessons use the same reusable components:

lesson.css (11KB)

  • Beautiful gradient header
  • Interactive quiz components
  • Vocabulary cards
  • Info boxes (tips, warnings, success)
  • Responsive design
  • Print-friendly styles

lesson.js (10KB)

  • Navigation system
  • Exercise checking functions
  • Audio playback
  • Score calculation
  • Keyboard controls

Create new lessons easily by reusing these files!


๐Ÿ”Š Audio Files

Generation

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.py

Audio Content

Unit 01: Weather words, definitions, examples, reading texts, grammar examples, discussion questions

Unit 02: Personality adjectives, Frida Kahlo biography, Chimokel story, time expressions, opposites


๐Ÿ“ฑ Browser Compatibility

Browser Desktop Mobile
Chrome โœ… โœ…
Firefox โœ… โœ…
Safari โœ… โœ…
Edge โœ… โœ…

๐Ÿš€ Deployment

GitHub Pages (Recommended)

Already set up! Just push changes:

git add .
git commit -m "Add Unit 02"
git push

Your site updates automatically at: https://your-username.github.io/english-weather-lesson/

Local Server

# Python 3
python3 -m http.server 8000

# Then open: http://localhost:8000

Other Options

  • Vercel: Connect GitHub repo, auto-deploy
  • Netlify: Drag & drop folder
  • Any web server: Upload files, done!

๐Ÿ› ๏ธ Creating New Lessons

Full guide available in: HOW_TO_CREATE_LESSONS.md

Quick Steps:

  1. Copy template

    cp people_lesson.html unit03_lesson.html
  2. Link shared resources

    <link rel="stylesheet" href="lesson.css">
    <script src="lesson.js"></script>
  3. Add your content

    • Update sections
    • Add exercises
    • Create audio JSON
  4. Generate audio

    python3 generate_audio_unit03.py
  5. Test and deploy!


๐Ÿ“‚ File Structure

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

๐Ÿ’ป Technologies

  • 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

๐ŸŽฏ Learning Objectives

CEFR Level

A2-B1 (Pre-Intermediate)

Skills Covered

  • โœ… Reading comprehension
  • โœ… Grammar practice
  • โœ… Vocabulary building
  • โœ… Listening (with audio)
  • โœ… Writing tasks
  • โœ… Speaking prompts

Pedagogical Features

  • 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

๐Ÿ“ Exercise Types

  1. Multiple Choice - Grammar and vocabulary questions
  2. Fill in the Blanks - Complete texts and dialogues
  3. True/False/Not Say - Reading comprehension
  4. Matching - Connect related items
  5. Dropdown Selection - Choose from options
  6. Ordering - Put events in sequence
  7. Writing Tasks - Free text responses
  8. Questionnaires - Learning styles assessment

๐Ÿ”ฎ Future Plans

  • Unit 03: The Media
  • Unit 04: Free Time
  • Dark mode toggle
  • LocalStorage for progress saving
  • Student dashboard
  • Achievement system
  • More interactive exercises
  • Video integration

๐Ÿ“š Resources

Documentation

External Links


๐Ÿ“„ License & Attribution

Content

Based on "Language Leader Pre-Intermediate" by Pearson Education. For educational purposes only.

Code

The interactive framework (HTML/CSS/JavaScript) is open source. Feel free to use and adapt for your own lessons!

Audio

Generated using OpenAI Text-to-Speech API.


๐Ÿ™ Acknowledgments

  • Pearson Education - Original textbook content
  • OpenAI - Text-to-speech technology
  • Students and teachers - Feedback and testing

๐Ÿ“ง Support

Questions? Issues? Suggestions?

  • Read the complete guide
  • Check existing lessons for examples
  • Open an issue on GitHub

๐ŸŽ‰ Success Metrics

  • โœ… 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! ๐ŸŽ“โœจ


Quick Links

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •