Update advanced/part6

This commit is contained in:
Richard Feldman
2018-08-14 03:18:04 -04:00
parent 6cb0a2093a
commit 58194312b6
2 changed files with 3 additions and 3 deletions

View File

@@ -10,4 +10,4 @@ Then open [http://localhost:3000](http://localhost:3000) in your browser.
## Exercise ## Exercise
Open `src/Article.elm` in your editor and resolve the TODOs there. Open `src/Page/Home.elm` in your editor and resolve the TODOs there.

View File

@@ -197,8 +197,8 @@ viewTabs isLoggedIn activeTab =
[] []
viewTab : Bool -> String -> msg -> Html msg viewTab : Bool -> ( String, msg ) -> Html msg
viewTab isActive tabName msg = viewTab isActive ( tabName, msg ) =
li [ class "nav-item" ] li [ class "nav-item" ]
[ a [ a
[ classList [ ( "nav-link", True ), ( "active", isActive ) ] [ classList [ ( "nav-link", True ), ( "active", isActive ) ]