True cost of purchases
Elm CSS HTML
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
css
.gitignore
LICENSE
Main.elm
README.md
elm-package.json
index.html

README.md

True Cost

Development

First, install Elm.

elm repl
import Main exposing (..)

And then open index.html to see it in action!

A good way to test on a phone is to use ngrok:

cd ~/code/true-cost
python -m SimpleHTTPServer 8005

ngrok http 8005

Compiling

elm make Main.elm --output truecost.js
open index.html

Notes