mandrasch, Small coding challenge for #WebDev #JavaScript
How would you solve the following in 2024?
- Server provides a list of destinations (JSON or data-xyz="" attributes), no pagination
- rendered as card grid
- JS: on click --> open modal with more details
Codepen: https://codepen.io/matthias_vie/pen/KKEeMLr
Would love to use Svelte, but want to achieve it without extra build step (legacy project).
Thought about #htmx and Template Fragments https://htmx.org/essays/template-fragments/? Any recommendations for a clean solution?