I wonder how things would have been if we had JavaScript based WMs and DEs. I'd have loved an HTML/CSS supported DE, imagine the possibilities! and seeing how performance of web-based DEs is amazing, I really hope we can get a Linux distro with a HTML/CSS/JS based DE.
The theming on Linux desktops is generally CSS based. For example, gtk/gnome shell is fully styled with CSS - with shell extensions written in JS.
I'm talking about something made purely in HTML + CSS + JS. Something like this: https://macos-web.app/
If only these could support native Linux apps somehow (through a WM).