GithubHelp home page GithubHelp logo

ttesori / js-math-app Goto Github PK

View Code? Open in Web Editor NEW
1.0 3.0 0.0 1.09 MB

This project is a game to help kids get better at basic math facts: addition, subtraction, multiplication and division.

Home Page: https://mathchamp.netlify.app/

CSS 25.10% HTML 22.72% JavaScript 52.18%
arithmetic kids math game

js-math-app's Introduction

MathChamp Logo

MathChamp: A Math Facts Game

This project is a game to help kids get better at basic math facts: addition, subtraction, multiplication and division. It was inspired by my daughter's trials learning her facts while studying at home during the pandemic.

Link to project: https://mathchamp.netlify.app

How It's Made:

Tech used: Javascript, HTML, CSS

This project is built using entirely vanilla JS, HTML and CSS. The original version of this application only practiced multiplication facts, but in this updated version it has been extended to include all basic arithmetic. The scores are saved to local storage, so they persist between sessions. The Javascript is written in a loose revealing module pattern, but this was mostly for my sanity while writing it, not for a particular dogmatic reason.

Lessons Learned:

The biggest thing this project taught me is that even something that seems relatively simple, like basic arithmetic, can have hidden complexity when translated into code! It also taught me the importance of developing a complete UI design before jumping into styling -- it made the process much quicker and easier.

Optimizations

Future optimizations that I'd like to add to this:

  • Improve accessibility by choosing a different accent color (green is too low contrast)
  • Utilize React for a more responsive front-end
  • Add the ability to sign in and save scores to a database
  • Add the ability for facts to be presented in sequential order, for when the user is first learning a particular set of facts
  • Add a mega-challenge mode with larger numbers (@simonpaix)
  • Randomize the operators (@natension)

js-math-app's People

Contributors

ttesori avatar

Stargazers

Zbynek Svoboda avatar

Watchers

Zbynek Svoboda avatar James Cloos avatar  avatar

js-math-app's Issues

Mobile styling issues

  • Focus number or challenge mode is cut off -- needs to be focus number/or on one line and challenge mode on another.
  • I want to practice for needs to be on own line
  • Start button needs to be on own line

GitHub link is broken

At the bottom of the page, the GitHub link does not resolve. It is just missing the domain.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.