Skip to content

Search

Articles, tools, solutions and knowledge base guides

Start typing to search across articles, tools and apps.

Learning

For engineers and product teams

Reference material: explanations, tool comparisons and practical guidance. Company news is on the Blog.

210 articles on development, AI, security, performance and web strategy

Latest articles

CSS Position: Relative, Absolute, Fixed and Sticky Explained

A product badge appears in the corner of the page, a fixed button scrolls with a panel, or a sticky heading never sticks. These bugs often come from confusing three separate mechanisms: normal flow, the containing block that supplies coordinates, and stacking contexts. CSS positioning complements Grid and Flexbox rather than replacing them.

CSS Units: px vs rem vs em vs vh vs vw Explained

A CSS unit defines what a dimension depends on. The same numeric value in rem, em or vw can produce very different lengths. In a production interface, choose units based on what should scale: text, a component, available space or the viewport. Examples assume horizontal writing unless noted otherwise.

  • AI
  • 4 min read

Gemini 4 Carbon vs Neon vs Argon vs Hydrogen: Models, Pricing and Benchmarks

The four Gemini 4 models target different trade-offs rather than a simple quality ladder. This comparison separates current and announced API rates, vendor and independent evaluations, and consumer access from developer access. Information verified on November 24, 2026.

JavaScript Array Methods: map, filter, reduce and Beyond

Array methods are essential for transforming API data, filtering products, calculating cart totals and updating application state without managing indexes manually. They are not interchangeable: map transforms existing entries, filter selects entries, and reduce produces an aggregate. The right choice depends on the expected result, processing cost and whether the original array may change. The standalone examples below also show when a straightforward loop is preferable.

JavaScript Closures: Lexical Scope, Practical Examples and Pitfalls

Why can a function still read variables from a factory that has already returned? Why do callbacks created in a loop sometimes return the same number? Closures explain both behaviors. They underpin function factories, event subscriptions and React patterns. Understanding them makes it possible to predict behavior rather than guess at fixes.

JavaScript Event Loop: Call Stack, Tasks and Microtasks

Why does a zero-delay timer run after a promise? Why does a loading indicator fail to appear even though the DOM was updated? Both questions concern the execution model and the browser's scheduling decisions. This guide focuses on browser JavaScript and explains how to predict execution order and keep interfaces responsive.

JavaScript Promises and async/await: A Practical Guide

Fetching data, saving forms and live search require coordinating work whose results are not immediately available. A Promise represents an eventual outcome, while async/await expresses dependencies without deeply nested callbacks. The difficult parts are deciding which tasks can overlap, handling failures and preventing outdated responses from changing the interface.

localStorage vs sessionStorage vs Cookies vs IndexedDB: Differences and Use Cases

Browser storage is not a single interchangeable resource. A theme preference, a form in progress, a session identifier and an offline document database have different requirements. The right choice depends on access scope, lifetime, security and data structure. These examples also handle unavailable storage and failed writes rather than assuming that browser data will always survive.

React Hooks: A Practical Guide with Examples

React Hooks give function components access to state, context, external synchronization and rendering controls. Knowing the API names is not enough: the important decision is whether a problem concerns rendered data, an external resource or the cost of rendering. This guide uses small, independent examples to explain those choices and their production trade-offs.