Description
In this courses, you will learn:
- Are you looking for an alternative to complicated UI frameworks? Make web app development easier using HTMX! Using Go, you will create a simple server that responds to routes via templates.
- Then use HTMX attributes in your HTML to target updates to certain portions of the page. Handle errors, out-of-band changes, and complex URL management and redirection patterns. Learn the grug way (it's only HTML, by the way) to create interactive web experiences!
Syllabus:
1. HTMX Basics
- Creating an HTTP Server
- Moving from HTML to HTMX
- Understanding HATEOAS
- Arguments Against HTMX
- Using hx-target with Templates
2. HTMX Interactivity
- Building a Form
- Contacts List & Endpoint
- Error Handling
- Out-of-Band Updates
- Swaps Recap
- Adding a Delete Icon
- Deleting Contacts
- hx-indicator & Swap Delays
3. HTMX Patterns
-
Controlling the URL & Redirection