# ranashiva/coursera-assignments architecture

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

- Interactive diagram: https://gitdiagram.com/ranashiva/coursera-assignments
- Repository: https://github.com/ranashiva/coursera-assignments

## Overview

##### Project type and purpose
- From the file tree and the README, this repository is a set of static front-end assignments (HTML, CSS, and a placeholder for JS).
- There is no backend service or database—each “moduleX-solution” directory contains only client-side files meant to be hosted statically (e.g., on GitHub Pages or any HTTP server).

##### File structure
- Top level:
- README.md – describes this as Coursera assignment submissions.
- module2-solution/ and module3-solution/ – each holds an index.html, a css folder, and module3 adds an empty js folder.
- No server code, configuration files, or build scripts—this is purely static content.

##### README for additional insights
- The README simply states “Repository to submit Coursera Assignments,” confirming there are no dynamic services or data persistence layers.
- No mention of frameworks or tooling beyond plain HTML/CSS/JS.

##### Elements
- Clear labels for each component: “Browser,” “Static File Server,” “module2-solution/index.html,” etc.
– Hosting infrastructure in another (e.g., green rectangle)
– Static assets in a third (e.g., yellow documents)

## Diagram (Mermaid)

```mermaid
flowchart TD
    Browser("Browser"):::client
    StaticHost("Static File Host"):::host

    subgraph "module2-solution/"
        M2Index["index.html"]:::asset
        M2CSS["css/style.css"]:::asset
    end

    subgraph "module3-solution/"
        M3Index["index.html"]:::asset
        M3CSS["css/styles.css"]:::asset
        M3JS["js/"]:::asset
    end

    Browser -->|"GET /module2-solution/index.html"| StaticHost
    Browser -->|"GET /module2-solution/css/style.css"| StaticHost
    Browser -->|"GET /module3-solution/index.html"| StaticHost
    Browser -->|"GET /module3-solution/css/styles.css"| StaticHost
    Browser -->|"GET /module3-solution/js/"| StaticHost

    StaticHost -->|"200 OK + files"| Browser

    StaticHost --> M2Index
    StaticHost --> M2CSS
    StaticHost --> M3Index
    StaticHost --> M3CSS
    StaticHost --> M3JS

    click README "https://github.com/ranashiva/coursera-assignments/blob/master/README.md"
    click M2Index "https://github.com/ranashiva/coursera-assignments/blob/master/module2-solution/index.html"
    click M2CSS "https://github.com/ranashiva/coursera-assignments/blob/master/module2-solution/css/style.css"
    click M3Index "https://github.com/ranashiva/coursera-assignments/blob/master/module3-solution/index.html"
    click M3CSS "https://github.com/ranashiva/coursera-assignments/blob/master/module3-solution/css/styles.css"
    click M3JS "https://github.com/ranashiva/coursera-assignments/tree/master/module3-solution/js/"

    classDef client fill:#ADD8E6,stroke:#333,stroke-width:1px
    classDef host fill:#90EE90,stroke:#333,stroke-width:1px
    classDef asset fill:#FFFACD,stroke:#333,stroke-width:1px
```
