Skip to content

Learn to code by writing code that actually runs.

Forgile is a place to practice. Short exercises, your code compiled and run in a real environment, automatic grading with tests, and every error explained in plain words, right next to the compiler’s original message.

No card needed. The whole programming logic path (Lógica de programação) is free.

Lessons and exercises are in Portuguese for now. The app is already available in English, and English lessons are on the way.

Test passed

Ember burning for 6 days

Forgy, the blacksmith robot who keeps you company at the forge.

From the error to a passing test

Learn, practice, run, understand the error, improve. Here is the whole cycle in a real exercise from the Java do zero path, Primeiros passos module.

  1. Learn

    One idea at a time, in short lessons with examples you run right there. Then straight to practice.

    Java do zero · Primeiros passos

    Business card

    Print exactly these three lines:

    Name: Forgy
    Job: Code blacksmith
    City: The Forge
  2. Practice

    You write the code in the browser, on a computer or on your phone. Nothing to install.

    Main.java
    1void main() {
    2    IO.println("Name: Forgy");
    3    IO.println("Job: Code blacksmith")
    4    IO.println("City: The Forge");
    5}
  3. Run

    Your code is compiled and really runs, in an isolated environment. Tests decide whether it passes, not a guess.

    Run and check

    Compiler message

    Main.java:3: error: ';' expected
        IO.println("Job: Code blacksmith")
                                          ^
    1 error
  4. Understand the error

    Every error comes with a plain explanation, no blame and a next step. The original message stays in view: learning to read it is part of the job.

    Compilation error, line 3

    Line 3 is missing a semicolon

    In Java, every statement ends with a semicolon. Add a ; at the end of the statement and run it again.

    Ask Forgy for a hint
  5. Improve

    Fixed it, ran it again, passed. The XP counts toward your daily goal and your ember keeps burning.

    Test passed

    Your program gave the right answer

    The output was exactly what we expected. Nice work.

    +30 XP

Four paths, from your first algorithm to your first API

Start with logic, without worrying about commas and braces, then move on to Java, SQL and back-end. That’s 25 modules, 88 short lessons and 2,261 exercises, each one checked on the code runner before going live.

Lógica de programação

For beginners

3 modules 12 lessons 271 exercises

Entirely free

Learn to think like a programmer: break problems into steps, make decisions and repeat tasks. All in pseudocode, written in Portuguese for now.

  1. Pensando como quem programa
  2. Do pseudocódigo ao código
  3. Algoritmos clássicos

Java do zero

For beginners

13 modules 43 lessons 1,169 exercises

First 2 modules free

Code from the very first lesson, run in the browser. You learn to read errors as clues, from variables to inheritance, records and recursion.

  1. Primeiros passos
  2. Variáveis e tipos
  3. Tomando decisões
  4. Repetições
  5. Métodos
  6. Arrays e listas
  7. Classes e objetos
  8. Trabalhando com textos
  9. Quando algo dá errado
  10. Mapas e conjuntos
  11. Herança e interfaces
  12. Records e enums
  13. Recursão

SQL do zero

For beginners

4 modules 13 lessons 362 exercises

First 2 modules free

Talk to databases: search, filter, summarize and combine information. You write queries from the first lesson and see the result right away, in tables.

  1. Primeiras consultas
  2. Resumindo dados
  3. Juntando tabelas
  4. Criando e alterando dados

APIs REST com Java

After Java

5 modules 20 lessons 459 exercises

First 2 modules free

From HTTP to the layers of a back-end: methods, status codes, JSON, controller, service and repository. You build a server in plain Java and, by the end, recognize all of it in Spring Boot.

  1. HTTP e REST
  2. Códigos de status
  3. Controller, service e repository
  4. Validação e erros
  5. Do Java puro ao Spring Boot

Modules included in the free plan

Made for people who are just starting

Real execution
Java and SQL really run, in an isolated environment. You see your program’s output, not a simulation.
Graded by tests
Every coding exercise is checked by tests, including extra cases beyond the example. You get the result in seconds.
Forgy’s help
Stuck? Ask for a hint. Forgy explains the error and shows you the way step by step, without giving away the answer.
Placement
Already know a bit? Take the placement check at the start and pick up at the right spot, without repeating what you know.
Exercises for your phone
Predict the output, find the bug, put lines in order, fill in the blanks and multiple choice, each in under a minute.

Start for free. Subscribe when you want to go further.

The free plan never expires and needs no card. Prices are in Brazilian reais (R$), and you’re charged in BRL.

Free

R$ 0

Learn the essentials and build the habit.

  • The whole Lógica de programação path
  • The first 2 modules of Java do zero, SQL do zero and APIs REST com Java
  • Code run and graded by tests
  • 5 hints from Forgy a day
  • XP, ember, daily goal and friends league
Start for free

PRO

R$ 24.90 per month

or R$ 199 per year, about R$ 16.58 a month. The annual plan can also be paid with Pix.

  • Every path and every module
  • 50 hints from Forgy a day
  • Everything in the free plan

Coming soon to PRO

  • Review of your mistakes
  • Projects with automatic grading
  • Verifiable certificate
Get PRO
  • 7 days to change your mind. Not for you? Ask for a full refund within 7 days of subscribing.
  • Cancel anytime. PRO stays unlocked until the end of the period you’ve already paid for.

Frequently asked questions

What language are the lessons in?

For now, lessons and exercises are in Brazilian Portuguese. The app itself (menus, buttons and screens) is already available in English, and we are preparing English versions of the lessons. Code reads the same in any language: Java and SQL keywords don’t change.

Do I need to know anything about programming?

No. The Lógica de programação path starts from zero, and Java do zero and SQL do zero also start at the very beginning. If you already know a bit, the placement check shows you where to pick up.

Do I need to install anything?

No. Everything happens in the browser. Your code is compiled and run on our servers, in an isolated environment, and the result comes back in seconds.

Can I study on my phone?

Yes. Lessons and quick exercises were designed for the phone, in sessions of a few minutes. Coding exercises work too, but they’re more comfortable on a computer.

Which version of Java do you use?

Java 25, the current LTS (long-term support) release. SQL runs on SQLite.

What is Forgy’s help?

When your code doesn’t pass, you can ask for a hint. It explains what happened and suggests the next step, without handing you the solution. You get 5 hints a day on the free plan and 50 on PRO.

How do payment, cancellation and refunds work?

Payments are handled by Stripe, by credit card; the annual plan also accepts Pix, Brazil’s instant payment system. On a card, the subscription renews automatically at the end of each period. You can cancel anytime, with no fee, and PRO stays unlocked until the end of the paid period. Within 7 days of subscribing, you can change your mind and get a full refund. Prices are charged in Brazilian reais (BRL).

Your first forged piece takes five minutes

Create your account, pick a path and solve your first exercise today.