Back to Multilingual Demo

Multilingual Examples

Write hyperscript in your native language using native idioms

Counter

Increment and decrement values
Code: SVO
on click increment #counter-value
Live Demo:
0

Toggle Class

Add and remove CSS classes
Code: SVO
on click toggle .active on me
Live Demo:

Input Mirror

Mirror input values in real-time
Code: SVO
on input put my value into #mirror-output
Live Demo:

Tabs Navigation

Multi-element coordination
Code: SVO
on click remove .active from .tab-btn then add .active to me
Live Demo:
Content for Tab 1. This demonstrates multi-element coordination.
Content for Tab 2. The code removes .active from all tabs, then adds it to the clicked one.
Content for Tab 3. This pattern is common in UI frameworks.

Word Order Legend

SVO
Subject-Verb-Object
English, Spanish, Chinese, French, German, Portuguese, Indonesian, Swahili
SOV
Subject-Object-Verb
Japanese, Korean, Turkish, Quechua
VSO
Verb-Subject-Object
Arabic