Want to learn and master Ballerina?

Join Exercism’s Ballerina Track for access to 12 exercises with automatic analysis of your code and personal mentoring, all 100% free.

Explore exercises

About Ballerina

import ballerina/http;
import ballerina/io;

service hello on new http:Listener(9090) {
  resource function sayHello(http:Caller caller, http:Request request) {
        http:Response response = new;
        response.setTextPayload("Hello Ballerina!");
        var responseResult = caller->respond(response);
        if (responseResult is error) {
            io:println("error responding back to client.");
        }
  }
}

Get mentored the Ballerina way

Every language has its own way of doing things. Ballerina is no different. Our mentors will help you learn to think like a Ballerina developer and how to write idiomatic code in Ballerina. 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 Ballerina - they'll help you discover the things you don't know that you don't know.

Learn more about mentoring

Community-sourced Ballerina exercises

The Ballerina track on Exercism has 12 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 Ballerina exercises
Ballerina

Get started with the Ballerina track

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