Static HTMX Connect 4

This is a game of Connect 4, with the only JavaScript being that of HTMX, and on a static host. All other JavaScript is disallowed by the CSP (in a meta tag since I can't control headers on GitHub Pages). Check with Right Click → View Source!

Note that a lot of the functionality is implemented through CSS. Your browser needs to support the :has selector for things like win detection to work. Additionally, I've made an explanation of how this was made on my blog.