Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Independent

An Introduction to Elm

via Independent

Overview

Elm is a functional language that compiles to JavaScript. It helps you make websites and web apps. It has a strong emphasis on simplicity and quality tooling.

This guide will:

  • Teach you the fundamentals of programming in Elm.
  • Show you how to make interactive apps with The Elm Architecture.
  • Emphasize principles and patterns that generalize to programming in any language.

By the end I hope you will not only be able to create great web apps in Elm, but also understand the core ideas and patterns that make Elm nice to use.

If you are on the fence, I can safely guarantee that if you give Elm a shot and actually make a project in it, you will end up writing better JavaScript code. The ideas transfer pretty easily!

Syllabus

  • Introduction
  • Core Language
  • The Elm Architecture
    • Buttons
    • Text Fields
    • Forms
  • Types
    • Reading Types
    • Type Aliases
    • Custom Types
    • Pattern Matching
  • Error Handling
    • Maybe
    • Result
  • Commands and Subscriptions
    • HTTP
    • JSON
    • Random
    • Time
  • Installation
    • Code Editor
    • Elm
  • JavaScript Interop
    • Flags
    • Ports
    • Custom Elements
    • Limits
  • Web Apps
    • Navigation
    • URL Parsing
    • Modules
    • Structure
  • Optimization
    • Html.lazy
    • Html.keyed
    • Minification
  • Next Steps
  • Appendix
    • Types as Sets
    • Types as Bits
    • Function Types

Reviews

Start your review of An Introduction to Elm

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.