Tag

#errors

24articles
GuidesOct 11, 2026

Why your video doesn't autoplay — 3 causes, including React's muted bug

Why your website video doesn't autoplay: sound, playsinline on iPhone, and React dropping the muted attribute. How to check each cause and fix it.

6 min read
BasicsOct 11, 2026

What is optional chaining (?.) in JavaScript — and why it doesn't stop every crash

Optional chaining (?.) in plain words: how it stops “Cannot read properties of null”, where it still crashes, and why not to use it everywhere.

5 min read
GuidesOct 2, 2026

Why your input loses focus after every keystroke — 3 causes in React

Input loses focus after every letter? Three causes in React and plain JS: a component inside a component, a shifting key, and innerHTML — and how to fix them.

6 min read
GuidesOct 1, 2026

Why localStorage data disappears — four causes and how to check each

Why localStorage loses data after a reload: your code overwrites it, a different port, an object saved without JSON.stringify, the browser wiping it. Fixes.

5 min read
GuidesSep 30, 2026

Maximum call stack size exceeded — why it happens and how to fix it, even without recursion

The Maximum call stack size exceeded error in JavaScript: three real causes, including Math.max on a big array and a setter that calls itself. How to find and fix each one.

6 min read
GuidesSep 29, 2026

Why my timer speeds up — and why it sometimes freezes at 1 instead

Timer ticking faster and faster, refusing to stop, or stuck at 1? Three real causes of a broken setInterval — how to check each one and how to fix it.

6 min read
GuidesSep 28, 2026

Why my event fires twice — three causes and how to fix each one

A click or key press fires twice, or even more? Three real causes of an event firing twice in JavaScript and React — and how to check and fix each one.

6 min read
BasicsSep 28, 2026

What is hoisting — and why you can call a function before you've written it

What hoisting in JavaScript is, in plain words: why a function works before it's declared, const crashes with an error, and var quietly gives you undefined.

6 min read
GuidesSep 27, 2026

Why JavaScript sort sorts wrong — 10 lands before 9, plus 2 more causes

Why JavaScript sort orders numbers and words wrong: text comparison, a true/false comparator, and accented letters. How to check each cause and fix it.

6 min read
GuidesSep 26, 2026

"is not a function" error — why it happens and how to fix it

TypeError: x is not a function — what this JavaScript error means and how to fix it. The three common causes: wrong data type, a made-up method, the import.

5 min read
BasicsSep 26, 2026

What is try catch — and why it sometimes doesn't catch the error

What is try catch, in plain words: a safety net for your code. How it works, why you need finally, and why try without await catches nothing.

5 min read
GuidesSep 25, 2026

Why this is undefined in JavaScript — 3 causes and how to fix them

Why this is undefined in JavaScript and where “Cannot read properties of undefined” in a method comes from: a callback, a function inside a method, an arrow.

6 min read
GuidesSep 24, 2026

Why you get NaN in JavaScript — 3 causes and how to find where it came from

Why JavaScript gives you NaN instead of a number: an empty field, text instead of a number, zero divided by zero. How to find the source of NaN and fix it fast.

6 min read
GuidesSep 23, 2026

Why my loop never stops — and the tab freezes solid

An infinite loop: the tab froze, the fan is screaming, the server gets thousands of requests. Three real causes — from React useEffect to while — how to check and fix.

6 min read
BasicsSep 23, 2026

What is scope in programming — and why a variable is "not defined" when it's right there

What scope is in programming, in plain words: where in code a variable exists and where it doesn't. Why is not defined happens and how to read curly braces.

5 min read
BasicsSep 23, 2026

What is null — and why its inventor called it a billion-dollar mistake

What null means in programming, in plain words: "deliberately empty." How null differs from undefined, where Cannot read properties of null comes from, and how to avoid it.

5 min read
GuidesSep 22, 2026

Why my array is empty — and why there's no error

The array is empty, the screen shows nothing, the console is silent. Three real causes of an empty array — data not there yet, a filter that cut everything, a list nested deeper — and how to check each.

5 min read
GuidesSep 12, 2026

Why my form clears everything I typed — 3 causes and the fix

The form empties itself after an error and people retype it all. Three causes: a blank server re-render, a remounted component, and a Back that never restored.

5 min read
BasicsSep 8, 2026

What is a false positive — and why a 99% accurate filter is wrong half the time

A false positive is a system accusing someone innocent. Let's do the math on why a filter that's 99% accurate produces half its flags in error.

5 min read
AgentsAug 12, 2026

Why my Telegram bot doesn't reply — the three causes that catch everyone

Telegram bot not replying while the logs look clean? The three real causes — the 409 conflict, group privacy mode, and a silently dead process.

5 min read
GuidesAug 5, 2026

Why my database connection fails — three causes and how to tell them apart in a minute

Database connection errors: too many clients, ENETUNREACH and failed authentication. Diagnose each one by its symptom and fix it.

5 min read
GuidesAug 2, 2026

How to handle API errors — retries, backoff, and when retrying makes it worse

Retrying is the most common fix and the most common way to take a service down. Step by step: what to retry, how long to wait, when not to.

6 min read
GuidesJul 26, 2026

How to set up error tracking — and hear about bugs before your users leave

How to add error tracking to your site in 15 minutes: Sentry, a test error, source maps, alerts. Step by step, so bugs reach you instead of vanishing in silence.

6 min read
GuidesJul 23, 2026

How to read an error message — the three-line method instead of panic

How to read an error message: find the type, the text and your own line in the stack trace. A three-line method that untangles the red wall in minutes.

6 min read