Skip to content

About

Math practice drills for kids

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

18 Commits

Folders and files

Repository files navigation

Math Drills

A tiny, offline math-practice game for kids who are just starting out with addition and subtraction. Open it, read the sum, tap the right tile. That's the whole thing — no accounts, no ads, no network.

Play

Open index.html in any browser. There is no build step and nothing to install.

open index.html      # macOS
xdg-open index.html  # Linux

Each round shows a sum like 2 + 3 = ? and three answer tiles. Tap the one you think is right; the score keeps track of how many you get.

How it's put together

  • index.html — the page.
  • src/drills.js — the list of practice questions.
  • src/quiz.js — the scoring and question logic (no DOM, so it's easy to test).
  • src/app.js — wires the data and logic to the page.
  • src/styles.css — the look.

Tests

Logic lives in src/quiz.js and the drill data in src/drills.js, both covered by plain node:test unit tests. No test framework to install.

npm test

License

MIT

About

Math practice drills for kids

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages