summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAhmed Lemine <49042032+ahmedlemine@users.noreply.github.com>2023-02-22 23:30:47 +0400
committerGitHub <noreply@github.com>2023-02-22 12:30:47 -0700
commita7affc95d0043bc2f0191016c95d20116b109328 (patch)
treec34e82626c83abd06606ea7c6f026bc4b36671c5
parent91573d1c453dd75acd19707293f68080ca2b3405 (diff)
downloadhtmx-a7affc95d0043bc2f0191016c95d20116b109328.tar.gz
htmx-a7affc95d0043bc2f0191016c95d20116b109328.zip
Fixed typo (#1238)
Fixed "for simplicities sake" to "For simplicity’s sake". Fixed "The div has the same id in the original an in the new content" to "The div has the same id in the original and in the new content".
-rw-r--r--www/docs.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/www/docs.md b/www/docs.md
index e1443922..3e85812d 100644
--- a/www/docs.md
+++ b/www/docs.md
@@ -485,7 +485,7 @@ Imagine this content is replaced by htmx via an ajax request with this new conte
Note two things:
-* The div has the *same* id in the original an in the new content
+* The div has the *same* id in the original and in the new content
* The `red` class has been added to the new content
Given this situation, we can write a CSS transition from the old state to the new state:
@@ -671,7 +671,7 @@ a wider audience to use your sites functionality.
Other htmx patterns can be adapted to achieve progressive enhancement as well, but they will require more thought.
Consider the [active search](/examples/active-search) example. As it is written, it will not degrade gracefully:
-someone who does not have javascript enabled will not be able to use this feature. This is done for simplicities sake,
+someone who does not have javascript enabled will not be able to use this feature. This is done for simplicity’s sake,
to keep the example as brief as possible.
However, you could wrap the htmx-enhanced input in a form element: