# hannan-developer56/my-portfolio-website architecture

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

- Interactive diagram: https://gitdiagram.com/hannan-developer56/my-portfolio-website
- Repository: https://github.com/hannan-developer56/my-portfolio-website

## Overview

This is a small service-order website: visitors can select a service and prepare an order for email or WhatsApp. The supplied JavaScript shows form validation, service selection, and the two external handoffs. The HTML and CSS are present in the tree, but their contents and event wiring were not provided, so those connections are not asserted.

Main entry points: [`app.js`](https://github.com/hannan-developer56/my-portfolio-website/blob/main/app.js) (Order Form), [`index.html`](https://github.com/hannan-developer56/my-portfolio-website/blob/main/index.html) (Website)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_visitor(("Visitor"))
node_site["Website<br/>[index.html]"]
node_service_selection["Service Selection<br/>[app.js]"]
node_order_form["Order Form<br/>[app.js]"]
node_email["Email App"]
node_whatsapp["WhatsApp"]

node_visitor -.->|"browses"| node_site
node_service_selection -->|"sets service"| node_order_form
node_order_form -->|"opens mailto"| node_email
node_order_form -->|"opens chat"| node_whatsapp

click node_site "https://github.com/hannan-developer56/my-portfolio-website/blob/main/index.html"
click node_service_selection "https://github.com/hannan-developer56/my-portfolio-website/blob/main/app.js"
click node_order_form "https://github.com/hannan-developer56/my-portfolio-website/blob/main/app.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_visitor,node_email,node_whatsapp toneIndigo
class node_site,node_service_selection,node_order_form toneTeal
```

## Components

### Other components

- **Visitor**
- [Website](https://github.com/hannan-developer56/my-portfolio-website/blob/main/index.html): `index.html`
- [Service Selection](https://github.com/hannan-developer56/my-portfolio-website/blob/main/app.js): `app.js`
- [Order Form](https://github.com/hannan-developer56/my-portfolio-website/blob/main/app.js): `app.js`
- **Email App**
- **WhatsApp**

## Connections

- Visitor → Website: browses
- Service Selection → Order Form: sets service (evidence: `app.js`)
- Order Form → Email App: opens mailto (evidence: `app.js`)
- Order Form → WhatsApp: opens chat (evidence: `app.js`)
