Prototype for the encounter difficulty calculator page
CSCI 5200 (Software Systems Engineering) | Fall 2017
This is written in Elm - you will need to have Elm installed to compile the source into an HTML file.
The app has three main pieces:
index.html
- static page that loads compiled Javascriptdiffcalc.elm
- all the page logic and contentsstyle.css
- CSS rules
To compile, run
$ elm-make diffcalc.elm --output build/elm.js
Then open ./index.html
to see the page.
Have a look at The Elm Architecture for how the data flow works.
- refactor actions to reduce duplication
- change build to compile to js and use static html file
- extract static CSS to separate file
- add calculations output
- add full calculation tables with show/hide option