# fareha1069/internship_projects architecture

> Architecture diagram of the GitHub repository fareha1069/internship_projects, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-06-02). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/fareha1069/internship_projects
- Repository: https://github.com/fareha1069/internship_projects

## Overview

##### Project type and purpose
- This is a purely front-end, static web project composed of three mini‐applications:
- A basic arithmetic Calculator
- A Landing Page (with an order form)
- A Developer Portfolio
- No backend services, databases, or build pipelines are present. All components live as HTML, CSS, and JavaScript files served statically.

##### File structure
- Top-level directories:
├─ Calculator/
├─ Landing_Page/
└─ Portfolio/
- Each directory contains:
- index.html (entry point)
- style.css (styling)
- script.js (interactive behavior; only Calculator and Portfolio have a script.js)
- There are no server or configuration files—this is designed for a static web server or local file hosting.

##### README
- The README simply states “Basic arithmetic calculator,” confirming that at least one of the modules (Calculator) provides a client-side app for arithmetic operations.
- No additional architectural guidance is given in the README.

##### Elements
- Clear labels: “Browser,” “Static Web Server,” “Calculator Module,” “Landing Page Module,” “Portfolio Module.”
- From Browser to Server (requests)
- From Server back to Browser (responses with HTML/CSS/JS)
- One for “Servers/Hosting”
- One for “Static Asset Bundles”

## Diagram (Mermaid)

```mermaid
flowchart TD
    %% Client and Server
    Browser["Browser"]:::client
    Server["Static Web Server"]:::server

    Browser -->|"HTTP GET Request"| Server
    Server -->|"Serves HTML/CSS/JS"| Browser

    %% Static Assets Modules
    subgraph "Static Assets"
        direction TB

        subgraph "Calculator Module"
            direction TB
            CalcHTML["index.html"]:::asset
            CalcCSS["style.css"]:::asset
            CalcJS["script.js"]:::js
            CalcJS -->|"manipulates DOM"| CalcHTML
        end

        subgraph "Landing Page Module"
            direction TB
            LandHTML["index.html"]:::asset
            OrderHTML["order.html"]:::asset
            LandCSS["style.css"]:::asset
        end

        subgraph "Portfolio Module"
            direction TB
            PortHTML["index.html"]:::asset
            PortCSS["style.css"]:::asset
            PortJS["script.js"]:::js
            PortJS -->|"manipulates DOM"| PortHTML
        end
    end

    Server -->|"Provides assets"| CalcHTML
    Server --> CalcCSS
    Server --> CalcJS
    Server --> LandHTML
    Server --> OrderHTML
    Server --> LandCSS
    Server --> PortHTML
    Server --> PortCSS
    Server --> PortJS

    %% Click Events
    click CalcHTML "https://github.com/fareha1069/internship_projects/blob/main/Calculator/index.html"
    click CalcCSS "https://github.com/fareha1069/internship_projects/blob/main/Calculator/style.css"
    click CalcJS "https://github.com/fareha1069/internship_projects/blob/main/Calculator/script.js"
    click LandHTML "https://github.com/fareha1069/internship_projects/blob/main/Landing_Page/index.html"
    click OrderHTML "https://github.com/fareha1069/internship_projects/blob/main/Landing_Page/order.html"
    click LandCSS "https://github.com/fareha1069/internship_projects/blob/main/Landing_Page/style.css"
    click PortHTML "https://github.com/fareha1069/internship_projects/blob/main/Portfolio/index.html"
    click PortCSS "https://github.com/fareha1069/internship_projects/blob/main/Portfolio/style.css"
    click PortJS "https://github.com/fareha1069/internship_projects/blob/main/Portfolio/script.js"

    %% Styles
    classDef client fill:#D6EAF8,stroke:#1B4F72,color:#1B2631
    classDef server fill:#FAD7A0,stroke:#7D6608,color:#1B2631
    classDef asset fill:#ABEBC6,stroke:#145A32,color:#1B2631
    classDef js fill:#D2B4DE,stroke:#4A235A,color:#1B2631
```
