Post #486290
2025-02-19 13:30 UTC
How I create static websites for tiny archives: https://alexwlchan.net/2025/mildly-dynamic-websites/?utm_source=mastodon
I wrote an in-depth walkthrough of the ideas and code I use to build small static websites:
✨ Splitting data and presentation
✨ Template literals to reduce repetition
✨ Filtering, sorting, and pagination
✨ User-visible errors when things go wrong
✨ Tests and other safety nets
Replies (2)
-
@pjg1@mastodon.social 2025-02-19 16:06
@alex@social.alexwlchan.net I'm seeing errors relating to the Content Security Policy on the demo page in the DevTools, so the demos aren't loading as intended on my end
-
@dlaehnemann@genomic.social 2025-02-19 17:53
@fxwiegand@mastodon.social Maybe there's inspiration here, for further #datavzrd development?