Lessons
An introduction to writing Elixir
Elixir · Introductory. Ten lessons. Open-book quizzes. Lesson 1 free.
10 lessons · The Host · Lesson 1 free
Pass all ten lessons for the certificate. Sample · Claim

Lesson 1 · On the house
Hello, Elixir
iex, IO.puts, .exs scripts.

Lesson 2
Values and types
Integers, floats, atoms, booleans, strings.

Lesson 3
Pattern matching with =
Match operator, pin ^, MatchError.

Lesson 4
Tuples, lists, keyword lists
{a, b}, [h | t], [key: value].

Lesson 5
Maps
%{key => val}, access, update.

Lesson 6
Modules and functions
defmodule, def, defp, arity.

Lesson 7
The pipe operator
|> left-to-right into the first argument.

Lesson 8
cond, case, and if
Control with expressions, not statements.

Lesson 9
Recursion and Enum basics
Enum.map, filter, reduce — and recursive clauses.

Lesson 10
Introductory capstone
A small module combining match, map, pipe, Enum.
Sample certificate
Certificate of completion
Sign in to claim your certificate of completion.
Certificate
Finish all ten lessons, then sign in
Pass every lesson on this device (quizzes and checks). Then sign in or create an account to type your name and download the JPG.