
HTML
14 min
The HTML dialog Element: Complete Guide
The native HTML dialog element handles focus trapping, accessibility, top-layer rendering, and the backdrop — all out of the box. Stop shipping Bootstrap modals and 200-line JS overlay hacks. Here's everything dialog can do, from basic modals to animated drawers.

CSS
12 min
CSS position: sticky — How It Really Works
You add position: sticky; top: 0 to a header and nothing happens. No error — it just silently refuses to stick. This guide explains how sticky really works, the three traps that break it, and the patterns for headers, sidebars, and table headers.

JavaScript
14 min
OpenAI Function Calling in JavaScript (Vanilla JS Guide)
Function calling lets the AI decide when to invoke your own JavaScript functions and what arguments to pass. The result: AI that fetches real data, runs calculations, searches your database, and controls your UI — all driven by natural language.

CSS
10 min
CSS z-index & Stacking Contexts Explained
You set z-index: 9999 on a tooltip. It still hides behind a modal. Until you understand stacking contexts, you're just guessing. This guide explains exactly how z-index works, what traps it, and how to fix every layering bug you'll ever face.

JavaScript
14 min
Run AI Locally with Ollama and JavaScript
Ollama lets you run powerful AI models like Llama 3, Mistral, and Gemma entirely on your own machine — free forever, no API key, zero data sent to the cloud. This tutorial shows you how to call Ollama from JavaScript with the same fetch pattern you already know.

CSS
24 min
CSS Container Queries: Components That Respond to Their Space
Container queries let a component respond to the size of its parent container instead of the viewport — the same card can be stacked in a sidebar and horizontal in the main content area, with one CSS class and zero JavaScript. This guide covers the complete system: container-type, @container syntax with boolean logic, the six container units, named containers, style queries (custom-property-only in 2026), grid-template-areas swaps, :has() combined with @container, the four gotchas that break beginners, a media-query migration playbook, and the Web Components shadow-DOM catch.

CSS
11 min
CSS View Transitions API: Animate Pages Without Libraries
The View Transitions API lets you animate between any two DOM states with a single JavaScript call and pure CSS. No animation library needed — the browser handles the cross-fade, morphing, and timing automatically.

JavaScript
15 min
Build a Chatbot Widget with HTML, CSS & JavaScript
Build a floating chat bubble widget that opens into a full AI chat panel — pure HTML, CSS, and Vanilla JavaScript. Connects to OpenAI, streams responses, remembers conversation history, and embeds into any website with a single script tag.

JavaScript
17 min
Build an AI Color Palette Generator with JavaScript
Build a real working tool: type a mood or theme, and AI generates a five-color palette with names and use cases. Pure HTML, CSS, and Vanilla JavaScript — no frameworks, no build step, ships in one file.

JavaScript
13 min
Web Speech API: Build a Voice Command UI in JavaScript
The Web Speech API lets you add voice input and text-to-speech to any website with zero dependencies. This tutorial builds a fully working voice command UI — wake word detection, command matching, and spoken responses — in pure JavaScript.

CSS
13 min
CSS Skeleton Loading Screens with Shimmer Animation
Skeleton screens replace blank white flashes and spinning loaders with intelligent content placeholders. Here is how to build them with pure CSS — including shimmer animation, dark mode, and AI chat loading states.

JavaScript
14 min
Build a ChatGPT-Style Streaming Text Effect in JavaScript
The token-by-token streaming animation you see on ChatGPT, Claude, and Gemini is now everywhere. Here is how to build it yourself using pure JavaScript — covering CSS typewriter, ReadableStream, and real Server-Sent Events.