Kulpost BlogNotes and write-ups

Array Methods in Action

2026-10-30 · Kuligaposten · ♥ 0 · 💬 0

JavaScript array methods aren’t just theoretical—they shine when handling real data. Let’s see some hands-on examples. 1. Fetching and Processing API Data Imagine you fetch a list of users from an…

HTTP status codes

2026-10-30 · Kuligaposten · ♥ 0 · 💬 0

HTTP status codes are three-digit numbers returned by a server to indicate the status of a client's request. Understanding these codes is crucial for web developers as they provide insights into the…

Dynamic TOC, ScrollSpy, and Code Blocks

2026-10-30 · Kuligaposten · ♥ 0 · 💬 0

If you’re building a blog or documentation site, you’ve probably faced these recurring challenges: Long pages with many headings, making it hard to navigate. Code blocks that need syntax…

A Practical Guide to the Fetch API

2026-10-30 · Kuligaposten · ♥ 0 · 💬 0

fetch() replaced XMLHttpRequest as the standard way to make HTTP requests in the browser. The basics are simple, but a few sharp edges trip people up — especially around error handling. The basic…

Debounce and Throttle

2026-10-30 · Kuligaposten · ♥ 0 · 💬 0

Some browser events fire far more often than you need them to. scroll, resize, and keyup on a search box can all trigger dozens of times a second. Wiring a handler directly to one of these is a fast…

CSS Grid vs Flexbox

2026-10-30 · Kuligaposten · ♥ 0 · 💬 0

Flexbox and Grid both showed up to solve the same frustration: laying out a page used to mean floats, clearfixes, and a lot of guessing. But they aren't interchangeable — each one is built for a…

Customizing Scrollbars

2026-10-30 · Kuligaposten · ♥ 0 · 💬 0

For years, customizing scrollbars was a fragmented experience—Firefox had scrollbar-width and scrollbar-color, while WebKit browsers (Chrome, Edge, Safari) required ::-webkit-scrollbar. But now, as…

JavaScript Classes, Explained

2026-10-30 · Kuligaposten · ♥ 0 · 💬 0

A class in JavaScript is mostly a nicer way to write what prototypes were already doing.

Understanding JavaScript Closures

2026-10-30 · Kuligaposten · ♥ 0 · 💬 0

A closure happens whenever a function is defined inside another function and keeps access to the outer function's variables, even after the outer function has finished running.

Understanding JavaScript Promises

2026-10-30 · Kuligaposten · ♥ 0 · 💬 0

Promises are the foundation of modern asynchronous JavaScript and power async/await under the hood.