From ec97c0aa2867fe8d00ff468402608ad50a66bfd7 Mon Sep 17 00:00:00 2001 From: carson Date: Fri, 24 Apr 2020 22:40:23 -0700 Subject: [PATCH] update web --- www/index.html | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/www/index.html b/www/index.html index 37bb27d9..a5268ef3 100644 --- a/www/index.html +++ b/www/index.html @@ -1,20 +1,34 @@ HTMx - Teaching HTML new tricks - +

</> HTMx

-

HTMx is a set of extensions to HTML that allows you to web applications that would normally require javascript - with only HTML attributes. It fills a gap in functionality that has been inexplicably left out of - standard HTML, and allows you to use the full range of HTTP and HTML expressiveness originally - envisioned for the web.

+

HTMx is a set of extensions to HTML that bring many of the useful features of modern web browsers directly + into HTML, rather than requiring javascript. It fills gaps in functionality found in + standard HTML, dramatically expanding the expressiveness of HTTP and HTML.

Here is a simple example of HTMx in action:

<button hx-get="/example" hx-target="#myDiv">Click Me</button>

This example issues an AJAX request to /example when a user clicks on it, and swaps the response - HTML into the element with the id myDiv

-

HTMx was inspired by intercooler.js, and aims to be a minimalist & + HTML into the element with the id myDiv

+

HTMx is inspired by intercooler.js, and aims to be a minimalist & dependency free implementation of the same concept.