Draw a Floor Plan to Scale with HTML Canvas
A minimal browser example for drawing a room to scale, mapping pointer positions back to metres, and checking whether furniture fits. A floor-plan sk
Curated development tutorials from top sources. Filter by language.
A minimal browser example for drawing a room to scale, mapping pointer positions back to metres, and checking whether furniture fits. A floor-plan sk
Overtime calculation in JavaScript looks like a ten-minute job. Multiply the extra hours by 1.5 and you're done, right? It works until a bonus or a sh
Every project has the same moment. The app is working. The client is happy. Then someone asks: "How do we edit this stuff without asking a develope
If you've used ChatGPT for a year, your sidebar is a graveyard. Old debugging sessions, half-finished ideas, conversations you'd rather not keep. And
I was chasing a mismatched ID in a log line last week. The value came in as hex, I pasted it into a converter, got a decimal back, compared it with wh
Putting type="number" on a measurement field does not finish its validation. I ran into the distinction while reading the input flow for an inches-to-
Every time I had to explain something with a diagram, I hit the same wall: a static diagram shows everything at once. Ten boxes, fifteen arrows, and t
Introdução No fim da parte 2 a gente deixou uma pergunta no ar: e se a lista estivesse num servidor? Aí cada termo vira um HTTP request, e
On 2026-11-08 my small site got clicks according to Search Console. When I tried to find out which queries they came from, the query table showed almo
An admin screen is usually one table with a to-do list attached. People must find a row, change it, group a few rows to see a pattern, come back tomor
I built FocusBlock, a local-first website blocker for Edge, using declarativeNetRequest. During real-browser testing I hit a failure mode that cost me
The Architecture of Illusion When vulnerability analysis isolates defects into discrete advisories, each CVE appears as a localized coding
If you are building a tarot app, a card game, a journaling tool or a "card of the day" widget, the first job is typing up 78 cards. I've published tha
A discussion with my programming students about creativity sent me down a side-project rabbit hole. I wanted to make something for fun, then see wheth
Build an add-on for Ampere, a Chrome new tab extension (AI help welcome)
In this article, I'm sharing what I learned with simple examples. This might be helpful for anyone who is just starting with JavaScript. Whi
One inch is exactly 2.54 centimeters, but that does not make every centimeter-to-inch result an exact decimal. I wanted a small conversion page to mak
Your browser already has more built-in features than you think. Let's be honest: how many npm packages have you installed without checking whether Ja
Build an Evidence-Friendly Bitcoin Timeline with Static HTML and TimelineJS A timeline can make a long technical history easier to explore,
Here's a function that ships in more codebases than anyone wants to admit: function formatDuration(hours, minutes, seconds) { const parts = [];