hyperscript
Enhance HTML with concise DOM, event and async features.
Created:
Home page: ///_hyperscript
<script src="https://unpkg.com/hyperscript.org@0.9.8"></script>
Example code:
on pointerdown
repeat until event pointerup
set rand to Math.random() * 255
transition
*background-color
to `hsl($rand 100% 90%)`
over 250ms
end