NewsImproved Interactive Lessons

Coding

Learn to code by writing code that runs

Coding lessons in Python and JavaScript come with a real code editor. Write your answer, run it right in the browser, and see each test pass or fail with what your code printed. When it works, hand it in and your tutor goes over how you did it.

An editor and its tests, inside the lesson

The editor fills one side of the screen, with a console underneath. It shows the tests one at a time: what each one runs, what it should give, and what your code gave. The first failing test comes up first, so you know where to look.

Nothing to install. Your code runs in the browser, on a laptop or a Chromebook.

Hints, not the solution

When a test fails, the tutor asks the question that helps you find the bug yourself, and suggests what to print or try. You write the fix.

SageYour tutor
  1. Learner:

    My total is always one number short.

  2. Sage:

    Let’s look. You wrote range(1, n). Which numbers do you expect it to give when n is 4?

  3. Learner:

    1, 2, 3, 4?

  4. Sage:

    Try printing each one inside the loop and run it. What do you see?

    Hint: where does range stop?

FAQ

Questions about coding

Which programming languages does it teach?

Python and JavaScript, with code you write and run inside the lesson.

Do I need to install anything?

No. The editor and your code both run in the browser.

Is it for complete beginners?

Yes. It starts with a few quick questions to find where you are, skips what you already know, and builds up one idea at a time.

Will it write my coding assignment?

No. It explains the idea behind an exercise and asks the question that gets you to the next step. You still write the code.

What does it cost?

Plans are priced by the month, and the Starter plan’s first 14 days are free with no card needed. See the pricing page for what each plan includes.

Coding

Write your first program today

Your first 14 days are free, no card needed. Pick Python or JavaScript to start.