Skip to content
Happy Programming Guide
Start learning

JavaScript

How JavaScript actually works in the browser. Variables, functions, the DOM, events and async code, explained with examples you can paste into a console.

14 guides

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

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.