Revise intro/part1

This commit is contained in:
Richard Feldman
2018-08-14 01:42:20 -04:00
parent 80e8cec98f
commit 73aa1ed975

View File

@@ -5,22 +5,25 @@ import Html.Attributes exposing (..)
banner = banner =
{- TODO Add a logo and tagline to this banner, so its structure becomes: {- 👉 TODO: Add a logo and tagline to this banner, so its structure becomes:
<div class="banner"> <div class="banner">
<div class="container"> <div class="container">
<h1 class="logo-font">conduit</h1> <h1 class="logo-font">conduit</h1>
<p>A place to share your knowledge.</p> <p>A place to share your knowledge.</p>
</div> </div>
</div> </div>
HINT 1: the <div class="row"> above is an element with 2 child nodes. 💡 HINT 1: the <div class="row"> above is an element with 2 child nodes.
HINT 2: the <div class="feed-toggle"> below is an element with text. 💡 HINT 2: the <div class="feed-toggle"> below is an element with text.
-} -}
div [ class "banner" ] div [ class "banner" ]
[ div [ class "container" ] [ div [ class "container" ]
[ text "TODO: Put a <h1> here instead of this text, then add a <p> right after the <h1>" ] [ text "👉 TODO: Put the <h1> here instead of this text, then add the <p> right after the <h1>" ]
] ]
@@ -30,7 +33,7 @@ feed =
main = main =
div [ class "home-page" ] div [ class "home-page" ]
[ p [] [ text "TODO: Replace this <p> with the banner" ] [ div [] [ text "👉 TODO: Replace this <div> with the banner" ]
, div [ class "container page" ] , div [ class "container page" ]
[ div [ class "row" ] [ div [ class "row" ]
[ div [ class "col-md-9" ] [ feed ] [ div [ class "col-md-9" ] [ feed ]