August 2024
Intermediate to advanced
186 pages
4h 3m
English
Htmx provides a new set of HTML attributes that make HTML more expressive. The htmx library processes these attributes. Some of them cause HTTP requests to be sent to endpoints that return HTML which is inserted into the DOM. Without htmx, doing this requires writing custom JavaScript code.
Any event on any HTML element can trigger any kind of HTTP request (GET, POST, PUT, PATCH, or DELETE) and the response will not result in a full page refresh. All this is done without writing any custom client-side JavaScript code.
Currently, htmx defines 36 attributes, but a small subset of them are commonly used. Let’s discuss those commonly used attributes, which answer the following questions:
Read now
Unlock full access