Skip to content

Instantly share code, notes, and snippets.

@j-hannes
Last active May 21, 2016 20:32
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/be0649c2f3edb6575e38cb76681e05a6 to your computer and use it in GitHub Desktop.
Save j-hannes/be0649c2f3edb6575e38cb76681e05a6 to your computer and use it in GitHub Desktop.
Counter v1
module Counter exposing (..)
import Html exposing (button, div, span, text)
main =
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