We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5e23457 commit 14a1675Copy full SHA for 14a1675
.gitignore
@@ -2,3 +2,5 @@
2
elm-stuff
3
# elm-repl generated files
4
repl-temp-*
5
+
6
+horses.js
src/Main.elm
@@ -1,8 +1,38 @@
1
module Main exposing (..)
import Html exposing (..)
+import Html.Attributes exposing (..)
+import Html.Events exposing (onInput, onClick)
+import Http exposing (..)
7
8
-main : Html msg
9
+main : Program Never Model Msg
10
main =
- text "hey sexy horses"
11
+ Html.program
12
+ { init = init
13
+ , view = view
14
+ , subscriptions = always Sub.none
15
+ , update = update
16
+ }
17
18
19
20
+-- model
21
22
23
+type alias Model =
24
+ { character : Maybe String
25
+ , gifUrls : List String
26
27
28
29
+model : Model
30
+model =
31
+ { character = Nothing
32
+ , gifUrls = []
33
34
35
36
37
+-- update
38
+-- view
0 commit comments