# elmostafa01/codsoft architecture

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

- Interactive diagram: https://gitdiagram.com/elmostafa01/codsoft
- Repository: https://github.com/elmostafa01/codsoft

## Overview

##### Project type and purpose
- This is a collection of three static web development projects (a personal portfolio, a landing page, and a calculator) built purely with HTML, CSS, and JavaScript.
- Purpose: Demonstrate UI proficiency (responsiveness, styling, semantic HTML, basic interactivity).

##### File structure
- Top level “Level-1/Task_1_PORTFOLIO”, “Task_2_LANDING_PAGE”, “Task_3_CALCULATOR” each contain:
- index.html + styles (CSS)
- script.js for the calculator
- `.vscode` folder only holds local IDE settings—no runtime impact.
- No backend or database layers—pure front-end.

##### README for additional insights
- Confirms the repo is a showcase of front-end skills during an internship.
- Emphasis on visual design, responsiveness, and semantic markup.

##### Detail but avoid over-engineering
- Break each task into its HTML/CSS/JS folders as sub-components.
- How assets are shared or isolated per module.
- User flow from page load through any interactive steps (calculator operations).

## Diagram (Mermaid)

```mermaid
flowchart TD
    User["User"]:::user
    Browser["Web Browser"]:::browser
    Server["Static Hosting Server"]:::server
    Assets["Asset Store"]:::assets

    subgraph "Portfolio Module" 
        P_HTML["index.html"]:::module
        P_CSS["style.css"]:::module
        P_CV["CV.pdf"]:::asset
        P_GIFS["gifs"]:::asset
        P_ICONS["icons"]:::asset
    end

    subgraph "Landing Module"
        L_HTML["index.html"]:::module
        L_CSS["styles.css"]:::module
        L_VIDEO["bg-video.mp4"]:::asset
    end

    subgraph "Calculator Module"
        C_HTML["index.html"]:::module
        C_CSS["index.css"]:::module
        C_JS["script.js"]:::module
    end

    VSCode[".vscode (IDE Settings)"]:::misc
    README["README.md"]:::misc

    %% Flow
    User -->|uses| Browser
    Browser -->|requests HTML| Server
    Server -->|serves HTML| Browser
    Browser -->|requests CSS/JS| Server
    Server -->|serves CSS/JS| Browser
    Browser -->|requests assets| Assets
    Assets -->|serves assets| Browser
    Browser -->|executes| C_JS

    %% Module connections
    Server --> P_HTML
    Server --> P_CSS
    Server --> L_HTML
    Server --> L_CSS
    Server --> C_HTML
    Server --> C_CSS
    Server --> C_JS

    Browser --> P_CV
    Browser --> P_GIFS
    Browser --> P_ICONS
    Browser --> L_VIDEO

    %% Click Events
    click P_HTML "https://github.com/elmostafa01/codsoft/blob/main/Level-1/Task_1_PORTFOLIO/index.html"
    click P_CSS "https://github.com/elmostafa01/codsoft/blob/main/Level-1/Task_1_PORTFOLIO/style.css"
    click P_CV "https://github.com/elmostafa01/codsoft/blob/main/Level-1/Task_1_PORTFOLIO/assets/CV.pdf"
    click P_GIFS "https://github.com/elmostafa01/codsoft/tree/main/Level-1/Task_1_PORTFOLIO/images/gifs"
    click P_ICONS "https://github.com/elmostafa01/codsoft/tree/main/Level-1/Task_1_PORTFOLIO/images/icons"
    click L_HTML "https://github.com/elmostafa01/codsoft/blob/main/Level-1/Task_2_LANDING_PAGE/index.html"
    click L_CSS "https://github.com/elmostafa01/codsoft/blob/main/Level-1/Task_2_LANDING_PAGE/styles.css"
    click L_VIDEO "https://github.com/elmostafa01/codsoft/blob/main/Level-1/Task_2_LANDING_PAGE/assets/bg-video.mp4"
    click C_HTML "https://github.com/elmostafa01/codsoft/blob/main/Level-1/Task_3_CALCULATOR/index.html"
    click C_CSS "https://github.com/elmostafa01/codsoft/blob/main/Level-1/Task_3_CALCULATOR/index.css"
    click C_JS "https://github.com/elmostafa01/codsoft/blob/main/Level-1/Task_3_CALCULATOR/script.js"
    click VSCode "https://github.com/elmostafa01/codsoft/blob/main/Level-1/Task_1_PORTFOLIO/.vscode"
    click README "https://github.com/elmostafa01/codsoft/blob/main/README.md"

    classDef user fill:#f9f,stroke:#333,stroke-width:1px
    classDef browser fill:#ffeb3b,stroke:#333,stroke-width:1px
    classDef server fill:#bbb,stroke:#333,stroke-width:1px,stroke-dasharray: 5 5
    classDef assets fill:#8bc34a,stroke:#333,stroke-width:1px
    classDef module fill:#03a9f4,stroke:#333,stroke-width:1px
    classDef asset fill:#4caf50,stroke:#333,stroke-width:1px
    classDef misc fill:#e0e0e0,stroke:#333,stroke-width:1px
```
