From bca10fcd134c85e7769d31dbade1d4fad31f6f2a Mon Sep 17 00:00:00 2001 From: "viet-anh.n" Date: Wed, 8 Jul 2026 06:19:21 +0000 Subject: [PATCH] [TSC-3] Build responsive HTML structure with semantic markup Create semantic HTML5 structure for calculator interface: - index.html: two labeled number inputs, four operation buttons, calculate/clear buttons, result , and error

with aria-live regions for screen-reader accessibility - CLAUDE.md: updated project structure and architecture notes --- CLAUDE.md | 34 ++++++++++++++++++++++++++++++++++ index.html | 54 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 CLAUDE.md create mode 100644 index.html diff --git a/CLAUDE.md b/CLAUDE.md new file mode 100644 index 0000000..eb6b9ae --- /dev/null +++ b/CLAUDE.md @@ -0,0 +1,34 @@ +# Simple Calculator + +Greenfield project. Implementation is driven by the Vexa AI-SDLC pipeline (Jira project TSC). + +## Project Structure + +``` +/ +├── index.html # Calculator UI (semantic HTML5) +├── README.md # Project overview +└── CLAUDE.md # This file +``` + +## Build Commands + +No build system has been configured yet. Update this section once a language/framework is chosen and dependencies are added. + +## Test Commands + +No test suite has been configured yet. Update this section once testing infrastructure is in place. + +## Development Commands + +No dev server or REPL is configured yet. Update this section once the implementation begins. + +## Architecture Notes + +- **Domain**: Simple Calculator — arithmetic operations (add, subtract, multiply, divide at minimum). +- **Stack**: Plain HTML/CSS/JS — no framework or build step. +- `index.html` contains the full UI structure: operand inputs, operation buttons, calculate/clear buttons, result ``, and an error `

`. + +## Code Style + +No linter or formatter has been configured yet. Update this section once tooling is set up. diff --git a/index.html b/index.html new file mode 100644 index 0000000..a8df71a --- /dev/null +++ b/index.html @@ -0,0 +1,54 @@ + + + + + + Simple Calculator + + +

+

Simple Calculator

+ +
+
+ Operands + +
+ + +
+ +
+ + +
+
+ +
+ Operation + +
+ + + + +
+
+ +
+ + +
+
+ +
+

Result

+ +
+ +
+ +
+
+ +