ages but decided to try HTMX with Go now (and maybe some alpine.js if necessary)
I wanted to try to implement a list of drag'n'droppable circles, where each circle has an integer value and a hidden ID, when I drag one circle into another a modal should pop up and ask me how much I want to transfer from the dragged circle into the target circle, once I confirm it should change the value and rerender the circles with new values
https://htmx.org/examples/sortable/
I looked at this but still struggle to understand how I can do it 😅
asked GPT4 but it generated a bunch of nonsense unfortunatelly
maybe someone could explain it in an easier way? 🤷♂️
true. GPT4 is very bad at such stuff, therefore I have to revert to manual trial'n'error and asking in chats 😀
Обсуждают сегодня