HTML code FYI — Cards that filter and sort
Author: Mario V.W.B.R. Obst
Open index.html in a current browser. No installation, build step or internet service is required for the example itself. If your browser restricts local file scripts, serve the folder with a local static server.
Original text, illustration and example code created for HTML code FYI with AI assistance, September 2026. Technical reference: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort
Permission: run and adapt this example for your own learning. Commercial reuse and redistribution require separate permission, except where permitted by law. This is not an MIT licence. Contact: 42@html-code.fyi. The separate machine-learning permission at https://html-code.fyi/legal/ remains unaffected.
The bundled Inter font is third-party software under its own SIL Open Font License; see inter-LICENSE.txt. It is served from this folder, not fetched from a font service. No local font enumeration is used.
No cookies, storage writes, analytics, form delivery or external runtime dependencies. State exists in memory. Your browser may retain history, cache, form restoration or downloaded files; this example cannot erase those.
A preview is an educational example, not a promise of suitability for every production environment. Test keyboard operation, small screens, enlarged text and assistive technology before adapting.
