Introduction Into Elm (Pt.2)
A. Sharif
301

Thanks for the article!

By looking at how you’re calling getStyle with row.position as an argument, I believe you intended to use the index parameter when appending the red color, instead of row.position in your if expression.

Show your support

Clapping shows how much you appreciated Daniël Illouz’s story.