My sister started a new position that involves HTML. She tried to explain an issue to me, but I’m not a web guy. I told her to send it to me on Monday and she sent this…

    • ByteOnBikes@slrpnk.net
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      https://css-tricks.com/css-database-queries/

      1. Use a hand-modified-to-ESM version of SQL.js, which is SQLite in JavaScript.
      2. Get a database ready that SQL.js can query.
      3. Build a Houdini PaintWorklet that executes queries in JavaScript and paints the results back to the screen in that <canvas>-y way that PaintWorklets do.
      4. Pass the query you want to run into the worklet by way of a CSS custom property.