# salmanyuris/ukuran-sepatu architecture

> Architecture diagram of the GitHub repository salmanyuris/ukuran-sepatu, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-13). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/salmanyuris/ukuran-sepatu
- Repository: https://github.com/salmanyuris/ukuran-sepatu

## Overview

ShoeFit is a small, browser-based shoe-size estimator. The user enters a height in the page, invokes the calculator, and sees a rounded EU-size estimate. The README documents live input validation, Enter-key support, animated results, and responsive styling; only the calculation function was sampled, so those UI behaviors are represented as documented capabilities rather than verified internal calls.

Main entry points: [`index.html`](https://github.com/salmanyuris/ukuran-sepatu/blob/main/index.html) (Calculator page), [`script.js`](https://github.com/salmanyuris/ukuran-sepatu/blob/main/script.js) (Size calculation), [`style.css`](https://github.com/salmanyuris/ukuran-sepatu/blob/main/style.css) (Responsive visuals)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_page["Web interface"]
  node_page["Calculator page<br/>[index.html]"]
  node_styles["Responsive visuals<br/>[style.css]"]
end

subgraph group_logic["Calculation"]
  node_calculator["Size calculation<br/>[script.js]"]
  node_estimate["EU size estimate"]
end

node_user(("User"))

node_user -->|"enters height"| node_page
node_page -.->|"invokes calculation"| node_calculator
node_calculator -->|"reads height; updates result"| node_page
node_calculator -->|"computes rounded size"| node_estimate
node_styles -->|"styles interface"| node_page

click node_page "https://github.com/salmanyuris/ukuran-sepatu/blob/main/index.html"
click node_styles "https://github.com/salmanyuris/ukuran-sepatu/blob/main/style.css"
click node_calculator "https://github.com/salmanyuris/ukuran-sepatu/blob/main/script.js"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_page,node_styles,node_user toneBlue
class node_calculator,node_estimate toneAmber
```

## Components

### Web interface

- [Calculator page](https://github.com/salmanyuris/ukuran-sepatu/blob/main/index.html): `index.html`
- [Responsive visuals](https://github.com/salmanyuris/ukuran-sepatu/blob/main/style.css): `style.css`

### Calculation

- [Size calculation](https://github.com/salmanyuris/ukuran-sepatu/blob/main/script.js): `script.js`
- **EU size estimate**

### Other components

- **User**

## Connections

- User → Calculator page: enters height (evidence: `README.md`)
- Calculator page → Size calculation: invokes calculation
- Size calculation → Calculator page: reads height; updates result (evidence: `script.js`)
- Size calculation → EU size estimate: computes rounded size (evidence: `script.js`)
- Responsive visuals → Calculator page: styles interface (evidence: `README.md`)
