Show HN: A simple way to make HTML websites
john-doe.neocities.org
john-doe.neocities.org
Almost exactly the same things were the de facto standards when "tabs" were all the rage way back when.
Kudos though for the modern CSS, although things like var etc wont work in old browsers
It does not cover more exotic things like browser in RiscOS or Amiga or text-only browsers etc. These are often consumers of text-only sites, deliberably or not. Small market share though I admit, but probably larger market share for text-only sites Vs other "normal" sites.
Essentially, instead of hijacking the Browser's history with some Javascript router api, you simple use the inbuilt url fragment to "load" a new page by using CSS to hide/show content based on that #fragment.
What I like about it is that the urls are "honest" -- you're not navigating to a new page (there isn't one, just like there isn't one when you do the same w/ a Jamstack App) -- and the urls show this.
Not a bug, but a feature.
https://www.impressivewebs.com/javascript-content-switcher-w...
Same overall principle with even deeper old browser support.
EDIT: you could have a masonry style gallery with CSS only using the CSS columns property.
Could you provide example?
- https://www.smashingmagazine.com/native-css-masonry-layout-c...
That has less support than Bieber at a black metal festival though.
Here's[1] the columns (or flexbox) way of doing it. Note that images will be a bit strangely ordered (as you would read columns). That's not solvable without JS (AFAIK). That's why W3C/CSSWG is looking at possible solutions[2] that resulted in the Firefox experiment you're referencing.
[1] https://css-tricks.com/piecing-together-approaches-for-a-css...
One issue, though: Highlighting the current page in the menu doesn’t always work. Browsing with an iPhone.
EDIT: nevermind I'm an idiot, the first page fits my screen, theres nothing to scroll.
I'm not sure why I was convinced it was broke. Maybe so used to typical page footers that I assumed there was more?
Maybe: http://patorjk.com/software/taag/#p=display&f=Graffiti&t=Joh...
* fixed
Any Screenshots/Tutorial?
Thanks, but no.
No. This showcase example especially designed to represent power of non-JS web-design.
1. I know HN hates JS, and there are times I do too, but how is celebrating JS-free anything but fundamentalism? A little JS won't hurt performance.
2. Gitlab offers a full IDE that you could use to edit your files. The post talks about the neocities and github editors only, both of which suck compared to the gitlab IDE.
2. See 1. Neocities is probably one of the easiest ways to publish something online for a neophyte, either with their editor or file uploader. (but they have a CLI too!)
> ...
> That is the complete explanation… JavaScript. Executing arbitrary code from strangers on the Internet is what makes browsers less secure.[1]
The best code, is the code you don't have to write...