Skip to content

Some simple projects that use HTMX with a Node/Express server

Notifications You must be signed in to change notification settings

bradtraversy/htmx-crash-course

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTMX Crash Course

This is the code from my HTMX crash course on YouTube. It uses a Node/Express server. All of the HTMX is in the /public .html files.

There are several examples:

  • request.html: Simple example of how to trigger events, make requests, set targets, etc
  • temperature.html: Simple temperature converter
  • polling.html: Example of polling (making a request every x seconds) using a mock weather api
  • search.html: A contact search widget
  • validation.html: Inline validation example
  • profile.html: Simple profile click-to-edit

Usage

Install dependencies

npm install

Visit the html page (eg. http://localhost:3000/search.html)

About

Some simple projects that use HTMX with a Node/Express server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published