Interactive, student-friendly mathematics lessons built for the MyHomeworkRewards learning platform.
This repository contains mathematics lesson pages developed for MyHomeworkRewards. The lessons pair textbook-style explanations with worked examples, MathJax notation, practice questions, and revealable solutions. The code intentionally stays close to the existing PHP and Bootstrap website so lesson files can be integrated into the platform without rebuilding its interface.
| Measure | Current scope |
|---|---|
| Audience | Grade 8 and Grade 12 students |
| Published lesson pages | 32 across radicals, complex numbers, and statistics |
| Practice | 6 review sets, including 106 cumulative Grade 12 questions |
| Interactive elements | Venn diagrams, tree diagrams, sampling tools, probability simulations, hints, and revealable solutions |
| Delivery | Reusable PHP lesson pages integrated with an existing learning platform |
| Grade | Subject | Collection | Included material |
|---|---|---|---|
| Grade 8 | Mathematics | Radicals and complex numbers | 11 lesson pages and 3 practice sets |
| Grade 12 | Data Management | Statistics | 21 lessons, 3 units, and 106 cumulative review questions |
The full lesson-by-lesson index is available in docs/CURRICULUM.md.
- Clear explanations written for students encountering a topic for the first time
- Worked examples with step-by-step reasoning
- Revealable hints and complete answers
- MathJax-rendered notation and formulas
- Interactive Venn diagrams, tree diagrams, sampling tools, and probability simulations
- Responsive layouts that preserve the original MyHomeworkRewards lesson format
- Structured statistics data that makes future units easier to add
.
|-- assets/ Shared styles, scripts, and images
|-- includes/ Site-wide header and footer
|-- lessons/
| |-- grade-8/math/radicals/ Grade 8 lesson sequence and practice
| `-- grade-12/data-management/
| `-- statistics/
| |-- unit-1/ Data collection and experimental design
| |-- unit-2/ Counting and probability
| |-- unit-3/ Sampling distributions
| |-- practice/ Cumulative unit reviews
| |-- data/ Structured lesson content
| `-- includes/ Reusable lesson renderers and components
|-- docs/ Curriculum and project documentation
`-- archive/ Preserved legacy material
PHP 8 or newer is recommended.
git clone https://github.com/VivaanRajpurohit/MyHomeWorkRewards-Projects.git
cd MyHomeWorkRewards-Projects
php -S localhost:8000 -t .Then open one of these pages:
- Grade 8: Simplifying Expressions with Roots
- Grade 12: Sampling and Data Foundations
- Grade 12: Permutations and Combinations
- Grade 12: Central Limit Theorem
Every push and pull request runs PHP syntax checks through GitHub Actions. To run the same check locally:
Get-ChildItem -Recurse -Filter *.php | ForEach-Object { php -l $_.FullName }For content changes, also open the affected lesson at desktop and mobile widths and test every Show Answer control.
Contributions that improve accuracy, clarity, accessibility, or practice coverage are welcome. Read CONTRIBUTING.md before opening a pull request.
Built to make difficult mathematics feel learnable.