The view is a function that takes a model and produces HTML. For me, this was the eureka moment of learning Elm.
Elm: The Gateway Drug To Functional Programming
billperegoy
1234

NOW it makes sense! Thank for clearing this out. It was my missing piece puzzle.

Btw, I took the liberty to create a gist of your provided code.

You can find it at:
https://gist.github.com/JoseGonzalez321/b5bd36d22243d91d935cd95089a8f1dc

Like what you read? Give Jose Gonzalez a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.