Want to learn and master Elixir?

Join Exercism’s Elixir Track for access to 151 exercises grouped into 52 Elixir Concepts, with automatic analysis of your code and personal mentoring, all 100% free.

Explore concepts

About Elixir

defmodule HelloWorld do

  @doc """
  Greets the user by name, or by saying
  "Hello, World!" if no name is given
  """
  def hello(name \\ "World") do
    "Hello, #{name}!"
  end
end

151 coding exercises for Elixir on Exercism. From Grade School to Rectangles.


Get better at programming through fun, rewarding coding exercises that test your understanding of concepts with Exercism.

See all Elixir exercises on Exercism

Key Features of Elixir


Elixir

General-purpose

Elixir is used for web development, embedded software, data ingestion, and multimedia processing.

Functional

Multi-clause functions with pattern matching and guards are the building blocks of Elixir code.

Dynamically typed

Elixir has no compile-time type checks, favoring run-time pattern matching.

Immutable

All data in Elixir is immutable, allowing for safer and easier-to-reason-about concurrency.

Concurrent

Elixir uses the actor model - shared-nothing concurrency via message passing.

Fault tolerant

Elixir runs on the Erlang VM, known for running low-latency, distributed and fault-tolerant systems.

A taste of the concepts you’ll cover


See all the concepts for Elixir

Get mentored the Elixir way

Every language has its own way of doing things. Elixir is no different. Our mentors will help you learn to think like a Elixir developer and how to write idiomatic code in Elixir. Once you've solved an exercise, submit it to our volunteer team, and they'll give you hints, ideas, and feedback on how to make it feel more like what you'd normally see in Elixir - they'll help you discover the things you don't know that you don't know.

Learn more about mentoring

Community-sourced Elixir exercises

The Elixir track on Exercism has 52 concepts and 155 exercises to help you write better code. Discover new exercises as you progress and get engrossed in learning new concepts and improving the way you currently write.

See all Elixir exercises
Elixir

Get started with the Elixir track

The best part, it’s 100% free for everyone.