web/
Browsers, HTML and CSS, HTTP, frameworks and APIs.
4 results
web/flexbox-how-a-row-of-boxes-decides-who-gets-the-leftover-space.md
Flexbox: how a row of boxes decides who gets the leftover space
Put three boxes in a row and the browser decides, by a short fixed recipe, who gets the extra room and who gives some up. Learn the three…
web/the-dom-how-a-browser-turns-html-text-into-a-tree.md
The DOM: how a browser turns HTML text into a tree
A web page starts as plain text, yet a script can add a bullet to it while it is open. How? The browser never works on your text directly…
web/event-bubbling-why-clicking-a-button-also-clicks-its-parent.md
Event bubbling: why clicking a button also clicks its parent
You click a button inside a div, and both click handlers run. Why does the parent hear about something that happened to its child? Every…
web/what-is-json-edit-it-live-and-see-why-apis-are-so-strict-about-it.md
What is JSON? Edit it live and see why APIs are so strict about it
When an app asks a server for data, the reply has to travel as plain text. JSON is the format most web APIs use: six kinds of value…