hi,

in http://guide.elm-lang.org/architecture/user_input/forms.html , there is
an exercise:

   - Add a "Submit" button. Only show errors *after* it has been pressed.

I tried and find it not as easy as I thought. I have to put color and
message in the model, I put the result code here:
https://gist.github.com/notyy/d2f9fb4087e26d42e450a956c51f054d

it works, but...
would anyone please help me review the code and give me some hints?

-- 
You received this message because you are subscribed to the Google Groups "Elm 
Discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to elm-discuss+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to