# hoangquockhanh0504/hocwebkhanhpc architecture

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

- Interactive diagram: https://gitdiagram.com/hoangquockhanh0504/hocwebkhanhpc
- Repository: https://github.com/hoangquockhanh0504/hocwebkhanhpc

## Overview

##### Project type and purpose
- This is a **static educational website** (a front-end–only mini–project repository) that delivers a series of HTML/CSS/JS “mini-apps” (Bài 1 through Bài 11) as part of a free web-development course by KhanhPC. There is no backend or database—just static assets.

##### File structure
- **Root**
- index.html (course home page)
- README.md (course description and guidelines)
- **Lesson folders (Bài 1 … Bài 11)**
- khanhpc.html (HTML content/structure)
- khanhpc.css (presentation layer)
- khanhpc.js (behavior/interaction)
- optional media (e.g., mouse.mp3 in Bài 11)
- **Key observations**
- Pure front-end assets—no build scripts or server code
- Each lesson is an independent static module
- Content is intended to be served from a static host (e.g., GitHub Pages, S3/CloudFront)

##### README for additional insights
- Confirms static-site course: “file bài học HTML từ cơ bản đến nâng cao,” mini-project exercises.
- No mention of dynamic services—everything lives in the repo.

##### Detail
- How the index.html acts as the entry point linking to each lesson folder
- Fact that assets are purely static—no databases, no microservices, no build pipelines

## Diagram (Mermaid)

```mermaid
flowchart TD
    subgraph "Client Layer"
        Browser["Learner's Web Browser"]:::client
    end

    subgraph "Hosting Layer"
        Host["Static Content Host/CDN"]:::host
    end

    subgraph "Course Content Repository"
        RepoIndex["index.html"]:::content
        RepoReadme["README.md"]:::content
        subgraph "Lessons"
            Lesson1["Bài 1 (tạo hiệu ứng màu cho web)"]:::content
            Lesson2["Bài 2 tạo logo xoay tròn"]:::content
            Lesson3["Bài 3 thiết lập thời gian thực"]:::content
            Lesson4["Bài 4 thiết lập đồng hồ kim theo thời gian thực"]:::content
            Lesson5["Bài 5 làm hiệu ứng rê chuột bằng js(code này nâng cao)"]:::content
            Lesson6["Bài 6 xây dựng hiệu ứng loading bằng css"]:::content
            Lesson7["Bài 7 thiết lập đồng hồ led 7 đoạn"]:::content
            Lesson8["Bài 8 làm animation cho trái tim"]:::content
            Lesson9["Bài 9 custom thanh âm thanh có phát âm thanh"]:::content
            Lesson10["Bài 10 tự làm đàn piano trên web"]:::content
            Lesson11["Bài 11 Tự làm máy tính cầm tay trên web"]:::content
        end
    end

    External["Facebook Support (External)"]:::external

    Browser -->|"GET index.html"| Host
    Host -->|"serves static files"| Browser
    Host -->|"deploys content from"| RepoIndex
    Host -->|"deploys content from"| RepoReadme
    Host -->|"deploys content from"| Lesson1
    Host -->|"deploys content from"| Lesson2
    Host -->|"deploys content from"| Lesson3
    Host -->|"deploys content from"| Lesson4
    Host -->|"deploys content from"| Lesson5
    Host -->|"deploys content from"| Lesson6
    Host -->|"deploys content from"| Lesson7
    Host -->|"deploys content from"| Lesson8
    Host -->|"deploys content from"| Lesson9
    Host -->|"deploys content from"| Lesson10
    Host -->|"deploys content from"| Lesson11
    Browser -.->|"opens support link"| External

    click RepoIndex "https://github.com/hoangquockhanh0504/hocwebkhanhpc/blob/root/index.html"
    click RepoReadme "https://github.com/hoangquockhanh0504/hocwebkhanhpc/blob/root/README.md"
    click Lesson1 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 1 (tạo hiệu ứng màu cho web)"
    click Lesson2 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 2 tạo logo xoay tròn"
    click Lesson3 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 3 thiết lập thời gian thực"
    click Lesson4 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 4 thiết lập đồng hồ kim theo thời gian thực"
    click Lesson5 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 5 làm hiệu ứng rê chuột bằng js(code này nâng cao)"
    click Lesson6 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 6 xây dựng hiệu ứng loading bằng css"
    click Lesson7 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 7 thiết lập đồng hồ led 7 đoạn"
    click Lesson8 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 8 làm animation cho trái tim"
    click Lesson9 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 9 custom thanh âm thanh có phát âm thanh"
    click Lesson10 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 10 tự làm đàn piano trên web"
    click Lesson11 "https://github.com/hoangquockhanh0504/hocwebkhanhpc/tree/root/Bài 11 Tự làm máy tính cầm tay trên web"

    classDef client fill:#FFA500,stroke:#333,stroke-width:2px
    classDef host fill:#9F6,stroke:#333,stroke-width:2px
    classDef content fill:#87CEEB,stroke:#333,stroke-width:1px
    classDef external fill:#CCC,stroke:#666,stroke-dasharray: 5 5,stroke-width:1px
```
