Try It Out: Solution
See the solution to the coding exercise we tried in the previous lesson.
We'll cover the following...
Create a SignUp
page in Html
Take the Html
module that we built in this chapter as a reference module provided in the file html.exs
. The tags.txt
file has a list of tags to be parsed into macro definitions. Now, create a SignUp
macro that renders HTML macros that print a “Sign Up” page. Create the macro in the html_render.exs
file provided below:
Requirements
The SignUp
macro should completely fulfill the following requirements: