Fixing “TypeError: x is not a function” in JavaScript
You called something that is not callable. The five ways that happens, from forEach on a NodeList to .then on a plain…
Try: python lists, javascript functions, syntax error, first project
How JavaScript actually works in the browser. Variables, functions, the DOM, events and async code, explained with examples you can paste into a console.
32 guides
You called something that is not callable. The five ways that happens, from forEach on a NodeList to .then on a plain…
How to add a library to a project — CDN, npm or a bundler — how to read documentation efficiently, and how…
The most common JavaScript error, decoded: you asked for a property of something that does not exist yet. How to read the…
The ternary operator, logical AND and OR, and the nullish coalescing operator — what each one-liner is genuinely good for, and when…
The JavaScript features that became usable in the last two years and matter day to day: Temporal replaces Date, using handles cleanup,…
Reading form values, collecting a whole form in one line with FormData, validating at the right moment, and the preventDefault everyone forgets.
Named exports, default exports, and why named ones are usually better. Plus the import errors that come from mixing ES modules with…
The browser APIs your JavaScript can use directly — fetch, storage, geolocation, clipboard, observers — and how to use each without breaking…
Use the browser’s built-in validation first, then add JavaScript for the parts it cannot do — with error messages screen readers actually…
How to save data in the browser so it survives a refresh: setItem and getItem, storing objects with JSON, and the corrupted-value…
Every array method worth knowing, grouped by what you are trying to do, with a one-line example each and a clear table…
How to request data with fetch, read a JSON response, send data with POST, handle errors properly, and show a loading state.
Related topics
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.