• Stars
    star
    161
  • Rank 233,470 (Top 5 %)
  • Language
    Elm
  • Created over 7 years ago
  • Updated over 4 years ago

Reviews

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

Repository Details

25 Elm examples - starting from a static view and gradually progressing to an interactive web app with routing

25 Elm Examples

These 25 Elm examples will take you from building a static view all the way to building an interactive web app with routing.

Links to the examples using Ellie

How to run and view examples 21-25 on your computer

You can use the Ellie links for examples 21-25, but if you want to run it locally, you can copy/paste the following commands which will clone the Github repo, then compile example 21 to a JavaScript file called elm.js, then you will open the HTML for example 21 in your default browser.

git clone https://github.com/bryanjenningz/25-elm-examples.git
cd 25-elm-examples
elm make 21-localstorage-editable-todos.elm --output elm.js
elm reactor
# The elm reactor command will server your files to http://localhost:8000,
# so go to http://localhost:8000 in your browser and select the HTML file.

The above code will compile and open example 21 in your default browser. To compile and view examples 22 through 25 locally, you do the same process of compiling the Elm file you want to the elm.js JavaScript file, then running elm reactor and selecting the HTML file in your browser at http://localhost:8000.

Other Free Resources

These 25 Elm examples were inspired by the examples on the Elm website and the official Elm guide. Each example tries to build off of the previous example by adding a small amount of code so that it's easy to understand and see how you can build stuff in Elm. If you have any suggestions for more examples that should be added or if anything is unclear, add an issue or make a pull request.

More Repositories

1

react-duolingo

Duolingo web app clone written with React, TypeScript, Next.js, Tailwind, and Zustand. Initialized with create-t3-app.
TypeScript
284
star
2

record-audio

A simple audio recording API
HTML
197
star
3

duolingo

Duolingo language-learning progressive web app clone
TypeScript
17
star
4

sentence-saver

A Mandarin dictionary sentence saver progressive web app
JavaScript
6
star
5

elm-pomodoro-list

Pomodoro timer to-do list written in Elm
Elm
4
star
6

jlpt-audio-srs

Learn JLPT words by just listening. Audio-based JLPT SRS web app written with React, TypeScript, Next.js, TailwindCSS, and Zustand.
TypeScript
3
star
7

japanese-dictionary

Japanese dictionary web app written with React, Next.js, TypeScript, TailwindCSS, and Zustand. Inspired by Pleco. Initialized with create-t3-app.
TypeScript
3
star
8

popup-translation-elm

Click on words and their definition pops up.
Elm
2
star
9

simon

Simon memory game
Elm
2
star
10

elm-picture-preview

A simple picture preview example
Elm
2
star
11

youtube-scraper

A Chrome extension that scrapes YouTube transcripts
JavaScript
2
star
12

speaking-practice

Save YouTube clips and record yourself trying to sound like the speaker.
TypeScript
2
star
13

japanese-reader

A mobile-focused offline-mode Japanese reader web app. Built with React, TypeScript, Next.js, TailwindCSS, and Zustand. Initialized with create-t3-app.
TypeScript
2
star
14

elm-localstorage-counters

Counters that save to localStorage, written in Elm.
Elm
1
star
15

dungeon-game

Randomly generated dungeon exploring maze game with 3 levels and a boss
JavaScript
1
star
16

elm-pong

A multiplayer pong game written in Elm
Elm
1
star
17

box-jumper

A minimalistic Flappy Bird clone that's less than 100 lines of JavaScript
JavaScript
1
star
18

popup-dictionary-app

React Native popup dictionary app
JavaScript
1
star
19

elm-walking-dialog-animation

Example walking dialog animation in Elm
Elm
1
star
20

n-queens-elm

N-Queens solution in Elm
Elm
1
star
21

elm-connect-four

Connect Four game written in Elm
Elm
1
star
22

better-italki-chat

Turns italki's static messaging system into a dynamic and fun chat system.
JavaScript
1
star
23

elm-undo-todos

To-Do list with the ability to undo actions, written in Elm
Elm
1
star
24

notify-website-changes

Sends a text message to your phone whenever there's a change in a website.
JavaScript
1
star
25

pacman-kanji

Learn Japanese kanji by playing Pacman! Built with React, Next.js, TypeScript, and TailwindCSS. Initialized with create-t3-app.
TypeScript
1
star
26

elm-walking-animation

Example walking animation in Elm
Elm
1
star
27

youtube-srs

Learn Japanese by watching YouTube videos.
JavaScript
1
star
28

mandarin-parroting

Get good at Mandarin Chinese by parroting YouTube videos.
Elm
1
star
29

elm-kanji-pacman

Learn Japanese kanji by playing Pac-Man! Built with Elm and Elm Land.
Elm
1
star