A small HTTP server, without a framework
Start with the standard library. Add a route, return JSON, and give every request a sensible time limit.
Nine focused guides. Real examples, a manageable scope, and a place to go next.
Start with the standard library. Add a route, return JSON, and give every request a sensible time limit.
Return useful errors from the place where something failed, and handle them where a decision can be made.
Use httptest to verify the contract a caller sees: status, headers, and response data.
A practical document outline with landmarks, headings, and links that still works before you add CSS.
Labels, input types, and useful validation are a better starting point than a clever floating placeholder.
Set dimensions, describe the useful content, and let the browser pick an appropriately sized source.
Let the available space decide the number of columns, then use media queries for the exceptions.
Line length, line height, and spacing do more for a reading page than a long list of fonts.
Make keyboard navigation visible without making every mouse click look like an error.