Link: Useful patterns for building HTML tools
Self-recommending absolutely bangning post from Simon Willison regarding combining HTML, Javascript, and CSS into a single file, which can then be served on static hosting. The post itself is obviously worth reading, but additionally you can browse his extensive collection of HTML tools: You can explore my collection on tools.simonwillison.net—the by month view is useful for browsing the entire collection. Some excellent tips including a collection of API resources that provide open CORS headers (which means you will be able to call the API from your HTML file hosted on a different domain name to the API). ...