Beginner tutorial: build an accessible counter
luastra/ui · app.render · app.handle · about 15 minutesCreate, understand, test, run, and safely change one complete Luastra application.
Start here after Installation and Quick start. You need only basic Luau tables, functions, if statements, and local variables.
You will create one project whose visible count begins at 0. Add one changes it to 1; Reset returns it to 0 and is disabled when there is nothing to reset.
Copy each complete file exactly before adapting it. The documentation validator materializes these same files and requires both luastra check and luastra test to pass.
The tutorial test proves deterministic application state. The live preview separately proves the selected browser host and interaction path; neither alone proves every desktop, mobile, or assistive-technology target.