• Stars
    star
    310
  • Rank 130,783 (Top 3 %)
  • Language
    Elm
  • License
    BSD 3-Clause "New...
  • Created almost 7 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Create Elm programs that run in browsers!

Elm in the Browser!

This package allows you to create Elm programs that run in browsers.

Learning Path

I highly recommend working through guide.elm-lang.org to learn how to use Elm. It is built around a learning path that introduces concepts gradually.

You can see the outline of that learning path in the Browser module. It lets you create Elm programs with the following functions:

  1. sandbox β€” react to user input, like buttons and checkboxes
  2. element β€” talk to the outside world, like HTTP and JS interop
  3. document β€” control the <title> and <body>
  4. application β€” create single-page apps

This 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 to see examples and really understand how Elm works!

This 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.

More Repositories

1

compiler

Compiler for Elm, a functional language for reliable webapps.
Haskell
7,455
star
2

core

Elm's core libraries
Elm
2,785
star
3

elm-lang.org

Server and client code for the Elm website.
Elm
1,985
star
4

projects

Curated collection of projects for folks looking to collaborate within the Elm ecosystem.
424
star
5

html

Use HTML in Elm!
Elm
393
star
6

package.elm-lang.org

website for browsing packages and exploring documentation
Haskell
294
star
7

parser

A parsing library, focused on simplicity and great error messages
Elm
225
star
8

virtual-dom

The foundation of HTML and SVG in Elm.
JavaScript
206
star
9

error-message-catalog

A catalog of broken Elm programs / data to improve error messages
Elm
173
star
10

http

Make HTTP requests in Elm
Elm
156
star
11

svg

Fast SVG in Elm
Elm
145
star
12

file

Select files. Download files. Work with file content.
Elm
107
star
13

time

A simplified approach to working with dates, times, and time zones.
Elm
91
star
14

json

Work with JSON in Elm
Elm
90
star
15

bytes

Work with bytes and implement network protocols
Elm
80
star
16

url

Build and parse URLs. Useful for HTTP and "routing" in single-page apps (SPAs)
Elm
75
star
17

expectations

Trying to set expectations about @elm processes
53
star
18

editor-plugins

List of editor plugins for Elm.
49
star
19

random

Generate random values in Elm
Elm
45
star
20

regex

If you really need regex in Elm, it is possible.
Elm
33
star
21

color

Standard representation of colors, encouraging sharing between packages.
Elm
24
star
22

foundation.elm-lang.org

Source code for the ESF website
Elm
17
star
23

project-metadata-utils

Work with elm.json and docs.json files in Elm
Elm
16
star
24

forum-rules

Rules for Elm forums
9
star