Post #4111501
2026-07-22 20:52 UTC
Staring down the barrel of "nobody knows how to do anything without #JavaScript any more". All I want to do is make my #ebook readable in a web-browser. Do I have to make _everything_ myself!?
No fancy UI-styling yet but there's nothing stopping me providing widgets for changing light/dark theme, colours, fonts, line-spacing -- you name it -- no JavaScript needed. Nothing to install, no Python script, no build system; it's just an #HTML + #CSS file. WHY IS THIS A LOST ART!??
#javascript #ebook #html #css #worldglass #webdev #nojs
Replies (2)
-
@Kroc@oldbytes.space 2026-07-25 21:56
I am cooking. #HTML + #CSS. No JS. No images (the icons are text, including the line-spacing icons which are three em-dashes with different line-spacing) Yes, you can select the font-face, font-size and line-spacing with the buttons, without #javascript. Every paragraph is numbered so you can easily remember where you were. Just need to add theme selection. #worldglass #webdev #writing
-
@petafloppa@meow.social 2026-07-23 14:17
@Kroc@oldbytes.space who said it's lost art? :has() selector is relatively new, so not that many people know about it, even less people actually use it