From fa92dc67ea065d06338a67a276d59bfdb9f85e7c Mon Sep 17 00:00:00 2001 From: carson Date: Thu, 8 Oct 2020 10:29:58 -0600 Subject: [PATCH] include motivation --- README.md | 10 ++++++++++ www/index.md | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/README.md b/README.md index a56fa3fc..421f9fff 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,16 @@ htmx is small ([~8k min.gz'd](https://unpkg.com/htmx.org/dist/)), [extendable](https://htmx.org/extensions) & IE11 compatible +## motivation + +* Why should only and
be able to make HTTP requests? +* Why should only `click` & `submit` events trigger them? +* Why should only GET & POST be available? +* Why should you only be able to replace the *entire* screen? + +By removing these arbitrary constraints htmx completes HTML as a +[hypertext](https://en.wikipedia.org/wiki/Hypertext) + ## quick start ```html diff --git a/www/index.md b/www/index.md index 8cf40031..b688382d 100644 --- a/www/index.md +++ b/www/index.md @@ -22,6 +22,16 @@ htmx is small ([~8k min.gz'd](https://unpkg.com/htmx.org/dist/)), [extendable](https://htmx.org/extensions) & IE11 compatible +## motivation + +* Why should only and be able to make HTTP requests? +* Why should only `click` & `submit` events trigger them? +* Why should only GET & POST be available? +* Why should you only be able to replace the *entire* screen? + +By removing these arbitrary constraints htmx completes HTML as a +[hypertext](https://en.wikipedia.org/wiki/Hypertext) + ## quick start ```html