# \#book-programming-elm

**URL:** https://forum.devtalk.com/tag/book-programming-elm/213.md

[Latest](https://forum.devtalk.com/latest.md) · [Categories](https://forum.devtalk.com/categories.md) · [Tags](https://forum.devtalk.com/tags.md)

---

## [Programming Elm: need to wait for DOMContentLoaded to getElementById?](https://forum.devtalk.com/t/programming-elm-need-to-wait-for-domcontentloaded-to-getelementbyid/1290)

<div class="topic-metadata">

**Author:** [@gcapell](https://forum.devtalk.com/u/gcapell)\
**Replies:** 1\
**Last updated:** [23 September 2020 05:44 UTC](https://forum.devtalk.com/t/programming-elm-need-to-wait-for-domcontentloaded-to-getelementbyid/1290 "2020-09-23T05:44:53Z")

</div>

When we first create picshare.js we’re told to link it from our HTML with \<script\> Elm.Picshare.init({node: document.getElementById('main')}); \</script\> but when I try this it looks like the getElementById doesn’t find…

---

## [Programming Elm (PragProg)](https://forum.devtalk.com/t/programming-elm-pragprog/436)

<div class="topic-metadata">

**Author:** [@PragmaticBookshelf](https://forum.devtalk.com/u/PragmaticBookshelf)\
**Replies:** 0\
**Last updated:** [18 April 2020 18:50 UTC](https://forum.devtalk.com/t/programming-elm-pragprog/436 "2020-04-18T18:50:06Z")

</div>

The Elm language offers safer applications and fewer errors that come with functional programming, while being type-safe and easy to use. x Jeremy Fairbank @jfairbank edited by Brian MacDonald @bmacdonald The Elm l…
