Demo 1 | Build your own HTMX

We now have an unfinished proof-of-concept of a simple HTMX clone, in less than 200 lines of javascript.

Since we don't actually implement hx-target yet, clicking the button repeatedly will append more and more greetings.

Clicking the button issues a real HTTP request to another HTML file (check out your network panel!)
Go back to the post here to learn how to properly support hx-target and more!