Skip to content

Instantly share code, notes, and snippets.

@j-hannes
Last active May 21, 2016 18:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save j-hannes/fa4804edafd73cc25b82703378cc2d0f to your computer and use it in GitHub Desktop.
Save j-hannes/fa4804edafd73cc25b82703378cc2d0f to your computer and use it in GitHub Desktop.
Counter V0-V1
module Main exposing (..)
import Html exposing (button, div, span, text)
+ import Html.App as Html
main =
+ view
+
+ view =
div []
[ button [] [ text "-" ]
, span [] [ text "0" ]
, button [] [ text "+" ]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment