Update intro/part2

This commit is contained in:
Richard Feldman
2018-08-14 01:48:11 -04:00
parent 73aa1ed975
commit b09cc426fd

View File

@@ -7,14 +7,14 @@ import Html.Attributes exposing (..)
viewTags tags =
let
renderedTags =
-- 👉 TODO use `List.map` and `viewTag` to render the tags
-- 👉 TODO: use `List.map` and `viewTag` to render the tags
[]
in
div [ class "tag-list" ] renderedTags
viewTag tagName =
{- 👉 TODO render something like this:
{- 👉 TODO: render something like this:
<button class="tag-pill tag-default">tag name goes here</button>
-}
@@ -35,7 +35,7 @@ main =
[ div [ class "sidebar" ]
[ p [] [ text "Popular Tags" ]
-- 👉 TODO instead of passing [] to viewTags, pass the actual tags
-- 👉 TODO: instead of passing [] to viewTags, pass the actual tags
, viewTags []
]
]