# amohammedimran/100-web-projects architecture

> Architecture diagram of the GitHub repository amohammedimran/100-web-projects, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2025-04-01). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/amohammedimran/100-web-projects
- Repository: https://github.com/amohammedimran/100-web-projects

## Overview

##### Main Components
- Repository Container – Represent the overall repository as the high-level container.
- Individual Projects/Modules – Create a component block for each project (for example, “01.bg-video”, “02.Creative Loading Animation”, … “100. Wikipedia Clone”). These blocks can be grouped further by type (e.g., projects that use video assets, interactive animations, forms, games, etc.) if needed.
- Sub-components Within Each Project – For each project module, note:
- HTML (index.html): Represents the structure and markup.
- CSS (style.css or similar): Represents visual styling.
- JavaScript (app.js, script.js or similar): Provides interactive behavior.
- Assets (videos, images, fonts): Supplementary files that support the project’s content.

##### Relationships and Interactions
- Optionally, illustrate the data flow within each module. For example, the HTML serves as the view layer, CSS handles layout and design, and JavaScript adds behavior (like event handling or DOM manipulation).
- While the demos are independent, you might indicate a loose grouping (or “namespace”) for projects dealing with similar UI patterns (such as “Animations”, “Interactive Forms”, “Navigations”, etc.) if that helps communicate shared design patterns.

##### Architectural Patterns and Design Principles
- Modularity: Emphasize that each project is isolated in its own directory and can be understood as a separate module.
- Consistency: Note that almost every project follows a similar file structure (index.html, style.css, and sometimes app.js) illustrating the separation of structure (HTML), presentation (CSS), and behavior (JavaScript).
- Reusability and Simplicity: Even though these are demos, the consistent architecture across projects supports learning and reuse of front-end techniques.

##### Relevant Technologies
- HTML, CSS, and JavaScript – as the core technologies.
- Any specific assets (images, videos) that are critical to some demos.

## Diagram (Mermaid)

```mermaid
graph TD
    R["Repository Container"]:::repo

    subgraph "HTML, CSS & JavaScript 100+ Projects"
        direction TB

        %% 01.bg-video Project
        subgraph "01.bg-video"
            direction TB
            HTML1["index.html"]:::html
            CSS1["style.css"]:::css
            ASSETS1["assets (video.mp4, Credit.txt)"]:::assets
            HTML1 -->|"loads"| CSS1
            HTML1 -->|"uses"| ASSETS1
        end

        %% 02.Creative Loading Animation Project
        subgraph "02.Creative Loading Animation"
            direction TB
            HTML2["index.html"]:::html
            CSS2["style.css"]:::css
            HTML2 -->|"loads"| CSS2
        end

        %% 05. Top 5 Creative Buttons Project with Sub-modules
        subgraph "05. Top 5 Creative Buttons"
            direction TB
            Module05["Module Container"]:::module
            subgraph "Buttons (e.g., btn1)"
                direction TB
                BTN1_HTML["btn1 index.html"]:::html
                BTN1_CSS["btn1 style.css"]:::css
                BTN1_HTML -->|"loads"| BTN1_CSS
            end
        end

        %% 18. Video Trailer Popup Project
        subgraph "18. Video Trailer Popup"
            direction TB
            HTML18["index.html"]:::html
            CSS18["style.css"]:::css
            JS18["app.js"]:::js
            ASSETS18["trailer.mp4"]:::assets
            HTML18 -->|"loads"| CSS18
            HTML18 -->|"calls"| JS18
            JS18 -->|"manipulates"| ASSETS18
        end

        %% 100. Wikipedia Clone Project
        subgraph "100. Wikipedia Clone"
            direction TB
            HTML100["index.html"]:::html
            CSS100["style.css"]:::css
            JS100["app.js"]:::js
            HTML100 -->|"loads"| CSS100
            HTML100 -->|"calls"| JS100
        end
    end

    %% Connections from Repository Container to Each Project (Entry Points)
    R --> HTML1
    R --> HTML2
    R --> Module05
    R --> HTML18
    R --> HTML100

    %% Click Events
    click R "https://github.com/amohammedimran/100-web-projects/tree/main/Root project directory"
    click HTML1 "https://github.com/amohammedimran/100-web-projects/blob/main/01.bg-video/index.html"
    click CSS1 "https://github.com/amohammedimran/100-web-projects/blob/main/01.bg-video/style.css"
    click ASSETS1 "https://github.com/amohammedimran/100-web-projects/tree/main/01.bg-video/assets"
    click HTML2 "https://github.com/amohammedimran/100-web-projects/blob/main/02.Creative Loading Animation/index.html"
    click CSS2 "https://github.com/amohammedimran/100-web-projects/blob/main/02.Creative Loading Animation/style.css"
    click Module05 "https://github.com/amohammedimran/100-web-projects/blob/main/05. Top 5 Creative Buttons folder"
    click BTN1_HTML "https://github.com/amohammedimran/100-web-projects/blob/main/05. Top 5 Creative Buttons/btn1/index.html"
    click BTN1_CSS "https://github.com/amohammedimran/100-web-projects/blob/main/05. Top 5 Creative Buttons/btn1/style.css"
    click HTML18 "https://github.com/amohammedimran/100-web-projects/blob/main/18. Video Trailer Popup/index.html"
    click CSS18 "https://github.com/amohammedimran/100-web-projects/blob/main/18. Video Trailer Popup/style.css"
    click JS18 "https://github.com/amohammedimran/100-web-projects/blob/main/18. Video Trailer Popup/app.js"
    click ASSETS18 "https://github.com/amohammedimran/100-web-projects/blob/main/18. Video Trailer Popup/trailer.mp4"
    click HTML100 "https://github.com/amohammedimran/100-web-projects/blob/main/100. Wikipedia Clone/index.html"
    click CSS100 "https://github.com/amohammedimran/100-web-projects/blob/main/100. Wikipedia Clone/style.css"
    click JS100 "https://github.com/amohammedimran/100-web-projects/blob/main/100. Wikipedia Clone/app.js"

    %% Styles
    classDef repo fill:#f9c,stroke:#333,stroke-width:2px;
    classDef module fill:#ffe599,stroke:#333,stroke-width:2px;
    classDef html fill:#cce5ff,stroke:#333;
    classDef css fill:#d4edda,stroke:#333;
    classDef js fill:#fff3cd,stroke:#333;
    classDef assets fill:#d1ecf1,stroke:#333;
```
