How to Debug JavaScript in the Browser
Console logging that actually helps, breakpoints, stepping through code, and the Network tab — the four tools that solve nearly every front-end…
Try: python lists, javascript functions, syntax error, first project
Every guide on the site, newest first. Explanations, projects and fixes written in plain English.
Console logging that actually helps, breakpoints, stepping through code, and the Network tab — the four tools that solve nearly every front-end…
Your styles are not applying. Work through this ordered checklist — file linking, selector accuracy, specificity, inheritance and cascade order — to…
A stack trace is a list of the function calls that led to an error. Here is how to read one in…
The JavaScript console errors beginners see most, what actually causes each one, and how to fix them — including the undefined error…
The Python errors beginners hit most: SyntaxError, IndentationError, NameError, TypeError, ValueError, IndexError, KeyError and ModuleNotFoundError — each with a cause and a…
Error messages are instructions, not insults. A repeatable method for reading any error, finding the real cause, and fixing it without guessing.
How to request data with fetch, read a JSON response, send data with POST, handle errors properly, and show a loading state.
Why some code finishes later, what a promise is, and how async/await lets you write waiting code that still reads top to…
How to react to clicks, typing and form submissions. Event listeners, the event object, preventDefault, and delegation for elements that do not…
How to select elements, change text and styles, add and remove elements, and why your script sometimes cannot find anything on the…
How objects store labelled data, dot versus bracket access, destructuring, spreading, and how to avoid the "cannot read properties of undefined" error.
Creating arrays, adding and removing items, and the three methods you will use constantly — map, filter and reduce — explained with…
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.