--- // Static two-panel demo: server response (left) + client markup (right) ---
// GET /api/greeting
// responds with HTML:
<p>Hello, htmx!</p>
<button
hx-get="/api/greeting"
hx-target="#result"
hx-swap="innerHTML">
Click Me
</button>
<div id="result">Hello, htmx!</div>