Skip to content

Commit

Permalink
Exercise solutions
Browse files Browse the repository at this point in the history
  • Loading branch information
milesfrain committed Dec 12, 2019
1 parent 8da4a26 commit 4d15cef
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/01-Static-HTML/02-Static-HTML.purs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,16 @@ staticHtml =
-- as does the `span` tag
[ HH.text "This is text in a span!" ]
]
, HH.button_
, HH.button_ -- may optionally wrap this button in a `div`
[ HH.text "You can click me, but I don't do anything." ]
-- exercise 1
, HH.div_
[ HH.button_
[ HH.text "Another button" ]
]
-- exercise 2
, HH.p_ -- may optionally wrap this paragraph in a div
[ HH.text "This is paragraph text" ]
]

--- Scaffolded code below ---
Expand Down

0 comments on commit 4d15cef

Please sign in to comment.