Source code for smarty pants calculator.
Written in Elm. Website requires
- index.html
- style.css
- public.js
The first two are static. To generate public.js
from smarty_pants.elm
, run make
. This assumes you have Elm and elm-make.
Thanks to @kelonye for making demo-bmi-calc, from which much of this was copied.
It seems there are other ways of doing style in Elm
but that's for another day, I think.