# bharatkhandelwal0/codesoftproject architecture

> Architecture diagram of the GitHub repository bharatkhandelwal0/codesoftproject, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-07). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/bharatkhandelwal0/codesoftproject
- Repository: https://github.com/bharatkhandelwal0/codesoftproject

## Overview

The repository is three independent browser-based projects: a static portfolio, an animated themed landing page, and an interactive calculator. Each user opens a project’s HTML page; the calculator additionally processes button and keyboard input to update its display. The README describes a Task2 animation script and media assets that are absent from the supplied file tree, so those are represented only at the existing Task2 directory level. Source evidence is limited to the README and the excerpted calculator script.

Main entry points: [`Task1/index.html`](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task1/index.html) (Portfolio Page), [`Task2/index.html`](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task2/index.html) (Landing Page), [`Task3/index.html`](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task3/index.html) (Calculator Interface), [`Task3/script.js`](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task3/script.js) (Calculator Logic)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio"]
  node_portfolio_page["Portfolio Page<br/>[index.html]"]
  node_portfolio_style["Portfolio Styling<br/>[style.css]"]
  node_portfolio_assets["Portfolio Images"]
end

subgraph group_landing["Themed Landing Page"]
  node_landing_page["Landing Page<br/>[index.html]"]
  node_landing_style["Landing Styling<br/>[style.css]"]
  node_landing_animation["Scroll Animation"]
end

subgraph group_calculator["Calculator"]
  node_calculator_page["Calculator Interface<br/>[index.html]"]
  node_calculator_style["Calculator Styling<br/>[style.css]"]
  node_calculator_logic["Calculator Logic<br/>[script.js]"]
  node_display["Expression Display<br/>[index.html]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_portfolio_page
node_visitor -->|"opens"| node_landing_page
node_visitor -->|"opens"| node_calculator_page
node_portfolio_page -->|"styled by"| node_portfolio_style
node_portfolio_page -->|"uses images"| node_portfolio_assets
node_landing_page -->|"styled by"| node_landing_style
node_landing_page -.->|"animated by"| node_landing_animation
node_calculator_page -->|"styled by"| node_calculator_style
node_calculator_page -->|"uses logic"| node_calculator_logic
node_calculator_logic -->|"updates"| node_display

click node_portfolio_page "https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task1/index.html"
click node_portfolio_style "https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task1/style.css"
click node_portfolio_assets "https://github.com/bharatkhandelwal0/codesoftproject/tree/main/Task1/assets"
click node_landing_page "https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task2/index.html"
click node_landing_style "https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task2/style.css"
click node_landing_animation "https://github.com/bharatkhandelwal0/codesoftproject/tree/main/Task2"
click node_calculator_page "https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task3/index.html"
click node_calculator_style "https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task3/style.css"
click node_calculator_logic "https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task3/script.js"
click node_display "https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task3/index.html"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_portfolio_page,node_portfolio_style,node_portfolio_assets toneBlue
class node_landing_page,node_landing_style,node_landing_animation toneAmber
class node_calculator_page,node_calculator_style,node_calculator_logic,node_display toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio

- [Portfolio Page](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task1/index.html): `Task1/index.html`
- [Portfolio Styling](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task1/style.css): `Task1/style.css`
- [Portfolio Images](https://github.com/bharatkhandelwal0/codesoftproject/tree/main/Task1/assets): `Task1/assets`

### Themed Landing Page

- [Landing Page](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task2/index.html): `Task2/index.html`
- [Landing Styling](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task2/style.css): `Task2/style.css`
- [Scroll Animation](https://github.com/bharatkhandelwal0/codesoftproject/tree/main/Task2): `Task2`

### Calculator

- [Calculator Interface](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task3/index.html): `Task3/index.html`
- [Calculator Styling](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task3/style.css): `Task3/style.css`
- [Calculator Logic](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task3/script.js): `Task3/script.js`
- [Expression Display](https://github.com/bharatkhandelwal0/codesoftproject/blob/main/Task3/index.html): `Task3/index.html`

### Other components

- **Visitor**

## Connections

- Visitor → Portfolio Page: opens (evidence: `README.md`)
- Visitor → Landing Page: opens (evidence: `README.md`)
- Visitor → Calculator Interface: opens (evidence: `README.md`)
- Portfolio Page → Portfolio Styling: styled by (evidence: `README.md`)
- Portfolio Page → Portfolio Images: uses images (evidence: `README.md`)
- Landing Page → Landing Styling: styled by (evidence: `README.md`)
- Landing Page → Scroll Animation: animated by (evidence: `README.md`)
- Calculator Interface → Calculator Styling: styled by (evidence: `README.md`)
- Calculator Interface → Calculator Logic: uses logic (evidence: `README.md`)
- Calculator Logic → Expression Display: updates (evidence: `Task3/script.js`)
