Simple calculator written in Elm
- Make sure that Elm is installed, otherwise, download it from here
- Clone this repository either as https or ssh:
git clone https://github.com/Kaahin/elm-calculator.git
or[email protected]:Kaahin/elm-calculator.git
- Navigate into elm-calculator directory:
cd elm-calculator
- Compile to Elm file to JavaScript:
elm make src/Main.elm --output=elm.js
- Open
index.html
in browser to view the calculator
Click on the buttons on the screen to perform calculations!