# behnamazimi/practical-front-end-projects architecture

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

- Interactive diagram: https://gitdiagram.com/behnamazimi/practical-front-end-projects
- Repository: https://github.com/behnamazimi/practical-front-end-projects

## Overview

##### Project type and purpose
- This is a mono-repository of 11 independent, browser-only front-end mini-apps (HTML/CSS/JS) designed for educational purposes.
- No backend, no bundlers, no third-party libraries. Each project lives in its own folder and runs by opening `index.html` in a modern browser.

##### File structure
- Top level: one directory per project (`01.custom-video-player`, `02.lovely-movies`, …, `12.image-slider-3d`), plus repo metadata (`.gitignore`, `readme.md`).
- Each project folder contains:
- `index.html` – the entry point
- `scripts/` – JavaScript modules (often following OOP or modular patterns, sometimes Web Components)
- `styles/` – CSS files (variables, animations, grid/flex layouts)
- `static/` – media assets (video, images)
- No build or deployment scripts—static file serving only.

##### README for additional insights
- Emphasis on learning core front-end fundamentals: DOM manipulation, event handling, CSS variables, animations, localStorage, Web Components, Canvas, etc.
- Projects are decoupled; each demonstrates a specific concept.

## Diagram (Mermaid)

```mermaid
flowchart TB
    %% Storage / Hosting
    SF[(“Static File Server”)]:::storage
    click SF "https://github.com/behnamazimi/practical-front-end-projects/tree/master//"

    %% Browser Client
    BC["Browser Client"]:::client
    SF -->|"HTTP GET index.html, .css, .js, assets"| BC

    subgraph "Browser Execution"
        HTML["HTML Loader"]:::client
        CSS["CSS Engine"]:::client
        JS["JS Runtime"]:::client
        DOM["DOM & Event System"]:::client
        Media["Media/Canvas Renderer"]:::client
    end

    BC --> HTML
    HTML --> CSS
    HTML --> JS
    JS --> DOM
    JS --> Media

    %% Static Site Content
    subgraph "Static Site Content"
        M1["01.custom-video-player"]:::app
        M2["02.lovely-movies"]:::app
        M3["03.notes-app"]:::app
        M4["04.othello-board-game"]:::app
        M5["05.quiz-app"]:::app
        M6["06.simple-range-slider"]:::app
        M7["07.web-chat-app"]:::app
        M8["08.canvas-wallpaper"]:::app
        M9["09.split-screen"]:::app
        M10["10.responsive-font-size"]:::app
        M11["11.css-escape-loading-animation"]:::app
        M12["12.image-slider-3d"]:::app
    end

    SF -->|"serves"| M1
    SF --> M2
    SF --> M3
    SF --> M4
    SF --> M5
    SF --> M6
    SF --> M7
    SF --> M8
    SF --> M9
    SF --> M10
    SF --> M11
    SF --> M12

    %% Click Events for index.html
    click M1 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/01.custom-video-player/index.html"
    click M2 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/02.lovely-movies/index.html"
    click M3 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/03.notes-app/index.html"
    click M4 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/04.othello-board-game/index.html"
    click M5 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/05.quiz-app/index.html"
    click M6 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/06.simple-range-slider/index.html"
    click M7 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/index.html"
    click M8 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/08.canvas-wallpaper/index.html"
    click M9 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/09.split-screen/index.html"
    click M10 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/10.responsive-font-size/index.html"
    click M11 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/11.css-escape-loading-animation/index.html"
    click M12 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/12.image-slider-3d/index.html"

    %% Click Events for CSS samples
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/01.custom-video-player/styles/styles.css"
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/02.lovely-movies/styles/styles.css"
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/03.notes-app/styles/styles.css"
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/05.quiz-app/styles/styles.css"
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/06.simple-range-slider/styles/styles.css"
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/styles/styles.css"
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/08.canvas-wallpaper/styles/styles.css"
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/09.split-screen/style/style.css"
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/10.responsive-font-size/style/style.css"
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/11.css-escape-loading-animation/styles/styles.css"
    click CSS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/12.image-slider-3d/styles/styles.css"

    %% Click Events for JS Runtime modules
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/01.custom-video-player/scripts/index.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/01.custom-video-player/scripts/video.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/02.lovely-movies/scripts/index.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/02.lovely-movies/scripts/services.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/03.notes-app/scripts/index.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/03.notes-app/scripts/note.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/03.notes-app/scripts/note-dom-helper.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/04.othello-board-game/scripts/index.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/04.othello-board-game/scripts/board.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/04.othello-board-game/scripts/cell.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/05.quiz-app/scripts/index.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/05.quiz-app/scripts/quiz.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/05.quiz-app/scripts/elements-helper.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/06.simple-range-slider/scripts/index.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/06.simple-range-slider/scripts/simple-range-slider.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/scripts/index.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/scripts/chat-app.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/scripts/data-factory.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/scripts/recorder.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/08.canvas-wallpaper/scripts/index.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/08.canvas-wallpaper/scripts/circle.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/09.split-screen/scripts/main.js"
    click JS "https://github.com/behnamazimi/practical-front-end-projects/blob/master/12.image-slider-3d/scripts/index.js"

    %% Click Events for Web Components
    click M7 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/components/component.js"
    click M7 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/components/app-brand.js"
    click M7 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/components/authed-user.js"
    click M7 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/components/active-chat.js"
    click M7 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/components/chat-box.js"
    click M7 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/components/chats-list.js"
    click M7 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/components/chat-list-item.js"
    click M7 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/components/chat-message.js"
    click M7 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/07.web-chat-app/components/new-message.js"

    %% Click Events for Media/Static Assets
    click M1 "https://github.com/behnamazimi/practical-front-end-projects/blob/master/01.custom-video-player/static/video.mp4"
    click M9 "https://github.com/behnamazimi/practical-front-end-projects/tree/master/09.split-screen/static/img/"
    click M12 "https://github.com/behnamazimi/practical-front-end-projects/tree/master/12.image-slider-3d/static/images/"

    %% Styles
    classDef storage fill:#BBDEFB,stroke:#1976D2,stroke-width:2px
    classDef client fill:#C8E6C9,stroke:#2E7D32,stroke-width:2px
    classDef app fill:#FFE0B2,stroke:#EF6C00,stroke-width:2px
```
