# azizulhakim31/web-level-3 architecture

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

- Interactive diagram: https://gitdiagram.com/azizulhakim31/web-level-3
- Repository: https://github.com/azizulhakim31/web-level-3

## Overview

Plant Store is a small static plant-shop site with product configuration and a demo cart, plus plant-care and community features. Its JavaScript excerpt shows cart rendering and updates, a plant-matching quiz, product pricing, photo tips, and a rule-based care chat. The HTML pages and stylesheet are present in the tree but were not sampled, so page-to-script wiring and page-specific capabilities cannot be verified; dashed links indicate that uncertainty.

Main entry points: [`plant-store/css/style.css`](https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/css/style.css) (Site styles), [`plant-store/index.html`](https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/index.html) (Home page), [`plant-store/product.html`](https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/product.html) (Product page), [`plant-store/js/script.js`](https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/js/script.js) (Shop and care features)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_pages["Site pages"]
  node_home["Home page<br/>[index.html]"]
  node_product["Product page<br/>[product.html]"]
  node_about["About page<br/>[about.html]"]
  node_contact["Contact page<br/>[contact.html]"]
end

subgraph group_runtime["Browser features"]
  node_features["Shop and care features<br/>[script.js]"]
end

subgraph group_presentation["Presentation"]
  node_styles["Site styles<br/>[style.css]"]
end

node_visitor(("Visitor"))
node_dom["Browser DOM"]

node_visitor -.->|"visits"| node_home
node_visitor -.->|"visits"| node_product
node_visitor -.->|"visits"| node_about
node_visitor -.->|"visits"| node_contact
node_features -->|"updates"| node_dom
node_home -.->|"uses"| node_features
node_product -.->|"uses"| node_features
node_about -.->|"styled by"| node_styles
node_contact -.->|"styled by"| node_styles
node_home -.->|"styled by"| node_styles
node_product -.->|"styled by"| node_styles

click node_home "https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/index.html"
click node_product "https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/product.html"
click node_about "https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/about.html"
click node_contact "https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/contact.html"
click node_features "https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/js/script.js"
click node_styles "https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/css/style.css"

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_home,node_product,node_about,node_contact,node_dom toneBlue
class node_features toneAmber
class node_styles toneMint
class node_visitor toneIndigo
```

## Components

### Site pages

- [Home page](https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/index.html): `plant-store/index.html`
- [Product page](https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/product.html): `plant-store/product.html`
- [About page](https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/about.html): `plant-store/about.html`
- [Contact page](https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/contact.html): `plant-store/contact.html`

### Browser features

- [Shop and care features](https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/js/script.js): `plant-store/js/script.js`

### Presentation

- [Site styles](https://github.com/azizulhakim31/web-level-3/blob/main/plant-store/css/style.css): `plant-store/css/style.css`

### Other components

- **Visitor**
- **Browser DOM**

## Connections

- Visitor → Home page: visits
- Visitor → Product page: visits
- Visitor → About page: visits
- Visitor → Contact page: visits
- Shop and care features → Browser DOM: updates (evidence: `plant-store/js/script.js`)
- Home page → Shop and care features: uses
- Product page → Shop and care features: uses
- About page → Site styles: styled by
- Contact page → Site styles: styled by
- Home page → Site styles: styled by
- Product page → Site styles: styled by
