include motivation

This commit is contained in:
carson
2020-10-08 10:29:58 -06:00
parent 27d6fdd1e3
commit fa92dc67ea
2 changed files with 20 additions and 0 deletions

View File

@@ -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 <a> and <form> 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

View File

@@ -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 <a> and <form> 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