From d61beda715193e49065ff8162d57c056919ad10f Mon Sep 17 00:00:00 2001 From: Richard Feldman Date: Wed, 7 Sep 2016 04:35:53 -0500 Subject: [PATCH] Greatly simplify part1. --- part1/Main.elm | 29 +++++++++++++---------------- 1 file changed, 13 insertions(+), 16 deletions(-) diff --git a/part1/Main.elm b/part1/Main.elm index e61f8d9..cac1007 100644 --- a/part1/Main.elm +++ b/part1/Main.elm @@ -4,22 +4,19 @@ import Html exposing (..) import Html.Attributes exposing (..) -elmHubHeader = - header [] - [ -- TODO wrap this text in an

- text "ElmHub" - , span [ class "tagline" ] - [{- 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" ] [] + [ header [] + [ -- TODO wrap this text in an

+ text "ElmHub" + , span + [-- TODO give this span a class="tagline" attribute. + -- + -- HINT: look at how our
does this above. + ] + [{- TODO put some text in here that says: + "Like GitHub, but for Elm things." + -} + ] + ] ]