Skip to content

marcmartino/AlgebraQs

Repository files navigation

Algebra Qs Tests

Web app for answering algebra questions like "What is 3 * 12?" or "What's seven times two minus six?"

Available to view at https://algebraQs.marmar.io

Built with

  • elm/parser, mdgriffith/elm-ui, elm-explorations/test
  • hosted on Github Pages with preview instances via Netlify

Points of Interest

As this is a project created for the sake of learning, not really for utility sake I've added a list of bits that were relatively new to me as someone making their first elm app.

  • elm/parser turned out to be fantastic for parsing the input strings and turning them into objects representing the algebraic statement that the user wants solved. This was solvable without the use of back tracking.
  • mdgriffith/elm-ui has been a fascinating library for doing layouts with much more clarity/sanity than standard html/css.
  • Flags and ports for javascript interop to enable manipulation of the favicon and storage of the theme (light mode or dark mode).
  • Commands for browser url manipulation and history push as well as random number generation.