The code looks OK.

I can tell you how to tidy up the code or how to optimize some other things
BUT what is exactly the issue that you are facing here?
Where is the difficulty?
What have you tried and it didn't worked as you expected?

For example, if you don't want the styles to bother you when looking at the
view, you can extract the list of styles in a value.

containerStyles : List (String, String)
containerStyles =
    [ ( "display", "flex" )
    , ( "justify-content", "center" )
    , ( "align-items", "center" )
    , ( "flex-direction", "column" )
    ]

Have you tried something like this and encountered some difficulties?




On Sun, Sep 4, 2016 at 8:39 PM, Rory Smith <[email protected]> wrote:

> As outlined here: http://codereview.stackexchange.com/questions/
> 140481/github-user-lookup
>
> --
> 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 [email protected].
> For more options, visit https://groups.google.com/d/optout.
>



-- 
There is NO FATE, we are the creators.
blog: http://damoc.ro/

-- 
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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to