kunibert-proof
All repositories: gitoria
382 B
import { navigate } from 'hl:web'count = 0let label = 'Counter'saved = nullload(String text) {try {saved = JSON.parse(text);} catch (e) {saved = null}}View {h1 { label }span { "Add" on click() { count = count + 1 } }p { "Average: " + (count / saved.total) }span { "Home" on click() { window.location.assign('/') } }}
Branches
- feature
- hl-standard-check
- mainmain branch