Free, hands-on programming tutorials

Learn to code by understanding why it works.

Practical tutorials on Python, JavaScript, Git, Algorithms and more, with clear explanations, runnable examples and honest advice about when to use each technique.

In-depth tutorials
22
Topics covered
7
Free to read
100%

Start here

Featured tutorial

Fresh

Latest articles

View all articles
A Python generator function handing out squared numbers one at a time, with the next value not computed yet
PythonIntermediate

Python Generators: Lazy Iteration with yield

How yield turns a function into a generator, why generators use almost no memory, and how to build lazy data pipelines with them in Python.

6 min read
A terminal running a Bash script that starts with set -euo pipefail
LinuxIntermediate

Writing Bash Scripts That Don't Break

Most shell scripts work fine until a file name has a space in it or a command fails halfway through. Learn strict mode, quoting, safe temporary files and cleanup traps, then put it all together in a real backup script.

6 min read
The event loop drawn as a cycle: run one task, run every microtask, then render a frame
JavaScriptAdvanced

The JavaScript Event Loop: Tasks, Microtasks and Rendering

Why does a resolved promise always beat setTimeout(fn, 0)? Learn exactly how the event loop schedules tasks, microtasks and repaints, and how to keep long work from freezing the page.

7 min read

Explore

Learn by topic

Pick a subject and work through it at your own pace. Every article is tagged by level, so you always know where to start.

All topics

Python

From first scripts to idiomatic, production-quality Python.

4 articles

JavaScript

The language of the web: async code, the DOM, and modern syntax.

3 articles

Git

Version control workflows that keep you and your team sane.

3 articles

Algorithms

Data structures, complexity, and problem-solving patterns.

3 articles

CSS

Layout, responsive design, and styling that scales.

3 articles

SQL

Query, join, and model data like a pro.

3 articles

Linux

Command-line fluency for developers and server admins.

3 articles

Never miss a new tutorial

Follow Code Academy in any feed reader. You don't need an account and you won't get spam or tracking, just new articles as they're published.