3 ms·
The code layout is so similar that these techniques are surely cousins (same ugly url and all). The only difference is the :target trick. Further, the no-js po
by adregan 5y ago
The code layout is so similar that these techniques are surely cousins (same ugly url and all). The only difference is the :target trick.
Further, the no-js portion isn’t even the main idea. “Entire website in a single file” is.
- baobabKoodaa 5y agoNo, that's not the main idea, in fact it's not even an accurate description - the entire website is not in a single file. The website loads one HTML file, one CSS file and several image files. The whole point here is you can do instant navigation to multiple pages that are contained within a single file without using JavaScript.