Skip to content
Happy Programming Guide
Start learning

All guides

Every guide on the site, newest first. Explanations, projects and fixes written in plain English.

JavaScript

JavaScript Events Explained

How to react to clicks, typing and form submissions. Event listeners, the event object, preventDefault, and delegation for elements that do not…

3 min read

JavaScript

JavaScript Objects Explained

How objects store labelled data, dot versus bracket access, destructuring, spreading, and how to avoid the "cannot read properties of undefined" error.

2 min read

Python

Python Functions Explained

Defining functions, parameters and defaults, keyword arguments, return values, scope, docstrings and when to split code into functions.

2 min read

Python

Python Dictionaries Explained

Dictionaries store labelled values. Here is how to create, read, update and loop over them, plus how to avoid the KeyError that…

2 min read

Python

Python Lists Explained

Creating lists, indexing, slicing, adding and removing items, sorting, and the copy trap that catches every Python beginner at least once.

2 min read

Keep going — pick your next guide

The fastest way to improve is to read one guide, then build the thing it describes. Start with the basics, or jump straight to a project.