• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..05-Apr-2020-

src/H05-Apr-2020-3,7022,668

LICENSEH A D05-Apr-20201.5 KiB3124

README.mdH A D05-Apr-20201.5 KiB2212

docs.jsonH A D05-Apr-202029.6 KiB11

elm.jsonH A D05-Apr-2020643 2222

README.md

1# Elm in the Browser!
2
3This package allows you to create Elm programs that run in browsers.
4
5
6## Learning Path
7
8**I highly recommend working through [guide.elm-lang.org][guide] to learn how to use Elm.** It is built around a learning path that introduces concepts gradually.
9
10[guide]: https://guide.elm-lang.org/
11
12You can see the outline of that learning path in the `Browser` module. It lets you create Elm programs with the following functions:
13
14  1. [`sandbox`](https://package.elm-lang.org/packages/elm/browser/latest/Browser#sandbox) — react to user input, like buttons and checkboxes
15  2. [`element`](https://package.elm-lang.org/packages/elm/browser/latest/Browser#element) — talk to the outside world, like HTTP and JS interop
16  3. [`document`](https://package.elm-lang.org/packages/elm/browser/latest/Browser#document) &mdash; control the `<title>` and `<body>`
17  4. [`application`](https://package.elm-lang.org/packages/elm/browser/latest/Browser#application) &mdash; create single-page apps
18
19This order works well because important concepts and techniques are introduced at each stage. If you jump ahead, it is like building a house by starting with the roof! So again, **work through [guide.elm-lang.org][guide] to see examples and really *understand* how Elm works!**
20
21This order also works well because it mirrors how most people introduce Elm at work. Start small. Try using Elm in a single element in an existing JavaScript project. If that goes well, try doing a bit more. Etc.
22