Hello World

Your first hyperscript.
This example demonstrates the most basic hyperscript pattern: listening for a click event and updating the DOM.
on click put event handling
Output appears here

The Code

<button _="on click put 'Hello, LokaScript' into #output"> Click </button> <div id="output"></div>

How it works:

Key Concepts:

Try it yourself:

Modify the hyperscript to change different parts: