Greatly simplify part1.
This commit is contained in:
@@ -4,22 +4,19 @@ import Html exposing (..)
|
||||
import Html.Attributes exposing (..)
|
||||
|
||||
|
||||
elmHubHeader =
|
||||
header []
|
||||
main =
|
||||
div [ class "content" ]
|
||||
[ header []
|
||||
[ -- TODO wrap this text in an <h1>
|
||||
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:
|
||||
"Like GitHub, but for Elm things."
|
||||
-}
|
||||
]
|
||||
]
|
||||
|
||||
|
||||
main =
|
||||
div [ class "content" ]
|
||||
[ -- TODO Add elmHubHeader here.
|
||||
--
|
||||
-- HINT: You'll need a comma!
|
||||
ul [ class "results" ] []
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user