Elm was fun and I learned a lot from it, but a purely functional language doesn’t fit cleanly on top of a real-world web browser environment, which is rife with states and side effects.
It was possible to build some elegant projects with Elm if you accepted the limitations, but the messy reality of web apps doesn’t fit within its pure model of the world.
We wrote some of the most complicated web pages ever in Elm.
It manages complexity to a level that imperative languages (of, gods forbid, OOP) cannot even dream of.
Precisely because the web browser environment is rife with state and side effects, that is exactly the reason why a purely functional language is a good idea for it.