Your sample profile
Alex Morgan
Building thoughtful things with Go.
Edit sample profileSMALL EDITS, CLEAR FEEDBACK
Edit a sample profile, cancel an unsaved change, or restore the original. Your saved sample stays in this browser session.
Building thoughtful things with Go.
Edit sample profileUse fictional details. This demo stores the sample in a browser cookie, without an account or database.
This demo uses ordinary links and forms, so each action loads a page. It also supplies HTMX attributes and a fragment response contract for applications that load their own HTMX runtime. This example loads no JavaScript.
Try the fragment endpoint from a terminal:
curl -H 'HX-Request: true' 'http://127.0.0.1:8080/editing?edit=1'Add HX-History-Restore-Request: true to receive a complete document. The same form renders on either path.