I am trying how to make form step wizard work using Hyperscript: https://hyperscript.org/ Can anyone point me in the right direction?
This is my code:
<script src="https://unpkg.com/hyperscript.org@0.9.9"></script>
<div class="step" step-index="1">
<h1>Step 1</h1>
<button>Next</button>
</div>
<div class="step" step-index="2">
<h1>Step 2</h1>
<button>Prev</button>
<button>Next</button>
</div>
<div class="step" step-index="3">
<h1>Step 3</h1>
<button>Prev</button>
<button>Submit</button>
</div>