+
+### Catching Events with Hyperscript
+
+A primary use case of hyperscript is catching and responding to events triggered by htmx.
+
+Here is an example with an element that is shown for 5 seconds, then removes the element:
+
+```html
+Here is a temporary message!
+```
+
+Here is an example that posts all htmx errors to a server URL:
+
+```html
+
+ ...
+
+```
+
+Here is an example that takes an `active` class from other tabs:
+
+```html
+
+ ...
+
+```
+
## [Configuring htmx](#config)
Htmx allows you to configure a few defaults: