Greatly simplify part1.

This commit is contained in:
Richard Feldman
2016-09-07 04:35:53 -05:00
parent 527a02428f
commit d61beda715

View File

@@ -4,22 +4,19 @@ import Html exposing (..)
import Html.Attributes exposing (..) import Html.Attributes exposing (..)
elmHubHeader = main =
header [] div [ class "content" ]
[ header []
[ -- TODO wrap this text in an <h1> [ -- TODO wrap this text in an <h1>
text "ElmHub" text "ElmHub"
, span [ class "tagline" ] , span
[-- TODO give this span a class="tagline" attribute.
--
-- HINT: look at how our <div class="content"> does this above.
]
[{- TODO put some text in here that says: [{- TODO put some text in here that says:
"Like GitHub, but for Elm things." "Like GitHub, but for Elm things."
-} -}
] ]
] ]
main =
div [ class "content" ]
[ -- TODO Add elmHubHeader here.
--
-- HINT: You'll need a comma!
ul [ class "results" ] []
] ]