# hiteshchoudhary/js-hindi-youtube architecture

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

- Interactive diagram: https://gitdiagram.com/hiteshchoudhary/js-hindi-youtube
- Repository: https://github.com/hiteshchoudhary/js-hindi-youtube

## Overview

##### Project type and purpose
- This is an educational JavaScript code repository for the “Chai aur Code” YouTube channel.
- It contains standalone example scripts and HTML files organized by topic, intended for learners to follow along.

##### File structure
- Top-level directories are numbered modules (01_basics, 02_basics, …, 11_fun_with_js).
- Within each module you have either .js example files or .html + .js pairs demonstrating DOM, events, or advanced concepts.
- README.md points to an external sandbox (StackBlitz) for live demos.
- No backend, no build scripts—purely static examples and markdown.

##### README for additional insights
- The README explicitly frames this repo as a “code repo for JavaScript series.”
- All projects live in an external StackBlitz link; the repo itself is a collection of sample code.

## Diagram (Mermaid)

```mermaid
flowchart TD
    classDef module fill:#AED6F1,stroke:#2E86C1,color:#154360
    classDef jsfile fill:#ABEBC6,stroke:#28B463,color:#1D8348
    classDef htmlfile fill:#F9E79F,stroke:#D4AC0D,color:#7D6608
    classDef doc fill:#D7BDE2,stroke:#8E44AD,color:#4A235A
    classDef external fill:#F5B7B1,stroke:#C0392B,color:#641E16,stroke-dasharray: 5 5

    %% Documentation
    README["README.md"]:::doc
    PROJECTS["projectsset1.md"]:::doc

    %% External Sandbox
    SANDBLITZ["StackBlitz Sandbox"]:::external

    %% Modules and Examples
    subgraph "01_basics" 
        M01["01_basics"]:::module
        J01a["01_variables.js"]:::jsfile
        J01b["02_dataTypes.js"]:::jsfile
        J01c["03_conversionOperation.js"]:::jsfile
        J01d["04_comparision.js"]:::jsfile
        J01e["05_strings.js"]:::jsfile
        J01f["06_nums_and_math.js"]:::jsfile
        J01g["07_datesinJs.js"]:::jsfile
        J01h["datatypes-summary.js"]:::jsfile
        J01i["test.js"]:::jsfile
        M01 --> J01a --> SANDBLITZ
        M01 --> J01b --> SANDBLITZ
        M01 --> J01c --> SANDBLITZ
        M01 --> J01d --> SANDBLITZ
        M01 --> J01e --> SANDBLITZ
        M01 --> J01f --> SANDBLITZ
        M01 --> J01g --> SANDBLITZ
        M01 --> J01h --> SANDBLITZ
        M01 --> J01i --> SANDBLITZ
    end

    subgraph "02_basics"
        M02["02_basics"]:::module
        J02a["01_arrays.js"]:::jsfile
        J02b["02_array.js"]:::jsfile
        J02c["03_objects.js"]:::jsfile
        J02d["04_objects.js"]:::jsfile
        M02 --> J02a --> SANDBLITZ
        M02 --> J02b --> SANDBLITZ
        M02 --> J02c --> SANDBLITZ
        M02 --> J02d --> SANDBLITZ
    end

    subgraph "03_basics"
        M03["03_basics"]:::module
        J03a["01_functions.js"]:::jsfile
        J03b["02_scopes.js"]:::jsfile
        J03c["03_arrow.js"]:::jsfile
        J03d["04_iife.js"]:::jsfile
        M03 --> J03a --> SANDBLITZ
        M03 --> J03b --> SANDBLITZ
        M03 --> J03c --> SANDBLITZ
        M03 --> J03d --> SANDBLITZ
    end

    subgraph "04_control_flow"
        M04["04_control_flow"]:::module
        J04a["one.js"]:::jsfile
        J04b["switch.js"]:::jsfile
        J04c["truthy.js"]:::jsfile
        M04 --> J04a --> SANDBLITZ
        M04 --> J04b --> SANDBLITZ
        M04 --> J04c --> SANDBLITZ
    end

    subgraph "05_iterations"
        M05["05_iterations"]:::module
        J05a["one.js"]:::jsfile
        J05b["two.js"]:::jsfile
        J05c["three.js"]:::jsfile
        J05d["four.js"]:::jsfile
        J05e["five.js"]:::jsfile
        J05f["six.js"]:::jsfile
        J05g["seven.js"]:::jsfile
        J05h["nine.js"]:::jsfile
        M05 --> J05a --> SANDBLITZ
        M05 --> J05b --> SANDBLITZ
        M05 --> J05c --> SANDBLITZ
        M05 --> J05d --> SANDBLITZ
        M05 --> J05e --> SANDBLITZ
        M05 --> J05f --> SANDBLITZ
        M05 --> J05g --> SANDBLITZ
        M05 --> J05h --> SANDBLITZ
    end

    subgraph "06_dom"
        M06["06_dom"]:::module
        H06a["one.html"]:::htmlfile
        H06b["two.html"]:::htmlfile
        H06c["three.html"]:::htmlfile
        H06d["four.html"]:::htmlfile
        M06 --> H06a --> SANDBLITZ
        M06 --> H06b --> SANDBLITZ
        M06 --> H06c --> SANDBLITZ
        M06 --> H06d --> SANDBLITZ
    end

    subgraph "07_projects"
        M07["07_projects"]:::module
        P07["projectsset1.md"]:::doc
        M07 --> P07
        P07 --> SANDBLITZ
    end

    subgraph "08_events"
        M08["08_events"]:::module
        J08a["eventbasics.js"]:::jsfile
        H08b["one.html"]:::htmlfile
        H08c["two.html"]:::htmlfile
        H08d["three.html"]:::htmlfile
        M08 --> J08a --> SANDBLITZ
        M08 --> H08b --> SANDBLITZ
        M08 --> H08c --> SANDBLITZ
        M08 --> H08d --> SANDBLITZ
    end

    subgraph "09_advance_one"
        M09["09_advance_one"]:::module
        H09a["ApiRequest.html"]:::htmlfile
        J09b["promise.js"]:::jsfile
        J09c["promises.js"]:::jsfile
        M09 --> H09a --> SANDBLITZ
        M09 --> J09b --> SANDBLITZ
        M09 --> J09c --> SANDBLITZ
    end

    subgraph "10_classes_and_oop"
        M10["10_classes_and_oop"]:::module
        J10a["Object.js"]:::jsfile
        J10b["Prototype.js"]:::jsfile
        H10c["bind.html"]:::htmlfile
        J10d["call.js"]:::jsfile
        J10e["getter_setter.js"]:::jsfile
        J10f["inheritance.js"]:::jsfile
        J10g["mathpi.js"]:::jsfile
        J10h["myClasses.js"]:::jsfile
        J10i["notes.md"]:::doc
        J10j["object_get_set.js"]:::jsfile
        J10k["oop.js"]:::jsfile
        J10l["properties_get_set.js"]:::jsfile
        J10m["staticprop.js"]:::jsfile
        M10 --> J10a --> SANDBLITZ
        M10 --> J10b --> SANDBLITZ
        M10 --> H10c --> SANDBLITZ
        M10 --> J10d --> SANDBLITZ
        M10 --> J10e --> SANDBLITZ
        M10 --> J10f --> SANDBLITZ
        M10 --> J10g --> SANDBLITZ
        M10 --> J10h --> SANDBLITZ
        M10 --> J10i --> SANDBLITZ
        M10 --> J10j --> SANDBLITZ
        M10 --> J10k --> SANDBLITZ
        M10 --> J10l --> SANDBLITZ
        M10 --> J10m --> SANDBLITZ
    end

    subgraph "11_fun_with_js"
        M11["11_fun_with_js"]:::module
        H11a["closure.html"]:::htmlfile
        M11 --> H11a --> SANDBLITZ
    end

    %% Relationships
    README --> M01
    README --> M02
    README --> M03
    README --> M04
    README --> M05
    README --> M06
    README --> M07
    README --> M08
    README --> M09
    README --> M10
    README --> M11

    PROJECTS --> M01
    PROJECTS --> M02
    PROJECTS --> M03

    %% Click events for modules and docs
    click M01 "https://github.com/hiteshchoudhary/js-hindi-youtube/tree/main/01_basics/"
    click M02 "https://github.com/hiteshchoudhary/js-hindi-youtube/tree/main/02_basics/"
    click M03 "https://github.com/hiteshchoudhary/js-hindi-youtube/tree/main/03_basics/"
    click M04 "https://github.com/hiteshchoudhary/js-hindi-youtube/tree/main/04_control_flow/"
    click M05 "https://github.com/hiteshchoudhary/js-hindi-youtube/tree/main/05_iterations/"
    click M06 "https://github.com/hiteshchoudhary/js-hindi-youtube/tree/main/06_dom/"
    click M07 "https://github.com/hiteshchoudhary/js-hindi-youtube/blob/main/07_projects/projectsset1.md"
    click M08 "https://github.com/hiteshchoudhary/js-hindi-youtube/tree/main/08_events/"
    click M09 "https://github.com/hiteshchoudhary/js-hindi-youtube/tree/main/09_advance_one/"
    click M10 "https://github.com/hiteshchoudhary/js-hindi-youtube/tree/main/10_classes_and_oop/"
    click M11 "https://github.com/hiteshchoudhary/js-hindi-youtube/tree/main/11_fun_with_js/"
    click README "https://github.com/hiteshchoudhary/js-hindi-youtube/blob/main/README.md"
    click PROJECTS "https://github.com/hiteshchoudhary/js-hindi-youtube/blob/main/07_projects/projectsset1.md"

    %% Styles
    class README,PROJECTS doc
    class SANDBLITZ external
    class M01,M02,M03,M04,M05,M06,M07,M08,M09,M10,M11 module
```
