# karthick-gp/codsoft architecture

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

- Interactive diagram: https://gitdiagram.com/karthick-gp/codsoft
- Repository: https://github.com/karthick-gp/codsoft

## Overview

This repository is a small static personal portfolio with a separate landing page and an interactive calculator. The calculator script handles button input, arithmetic, and display updates. The HTML and styling files are present in the tree, but were not sampled; the README is empty, so relationships beyond the script’s DOM interaction are not established here.

Main entry points: [`calculator/calci.html`](https://github.com/karthick-gp/codsoft/blob/main/calculator/calci.html) (Calculator Page), [`calculator/script.js`](https://github.com/karthick-gp/codsoft/blob/main/calculator/script.js) (Calculator Logic), [`PORTFOLIO/index.html`](https://github.com/karthick-gp/codsoft/blob/main/PORTFOLIO/index.html) (Portfolio Page), [`landing page/landing.html`](https://github.com/karthick-gp/codsoft/blob/main/landing%20page/landing.html) (Landing Page)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_portfolio["Portfolio"]
  node_portfolio_page["Portfolio Page<br/>[index.html]"]
  node_resume["Resume PDF<br/>[Resume.pdf]"]
  node_portfolio_styles["Portfolio Styles<br/>[style.css]"]
end

subgraph group_calculator["Calculator"]
  node_calculator_page["Calculator Page<br/>[calci.html]"]
  node_calculator_logic["Calculator Logic<br/>[script.js]"]
  node_calculator_styles["Calculator Styles<br/>[style.css]"]
end

subgraph group_landing["Landing Page"]
  node_landing_page["Landing Page<br/>[landing.html]"]
  node_landing_styles["Landing Styles<br/>[style.css]"]
end

node_visitor(("Visitor"))

node_calculator_logic -->|"binds controls"| node_calculator_page
node_visitor -.->|"views"| node_portfolio_page
node_visitor -.->|"uses"| node_calculator_page
node_visitor -.->|"views"| node_landing_page

click node_portfolio_page "https://github.com/karthick-gp/codsoft/blob/main/PORTFOLIO/index.html"
click node_resume "https://github.com/karthick-gp/codsoft/blob/main/PORTFOLIO/Resume.pdf"
click node_portfolio_styles "https://github.com/karthick-gp/codsoft/blob/main/PORTFOLIO/style.css"
click node_calculator_page "https://github.com/karthick-gp/codsoft/blob/main/calculator/calci.html"
click node_calculator_logic "https://github.com/karthick-gp/codsoft/blob/main/calculator/script.js"
click node_calculator_styles "https://github.com/karthick-gp/codsoft/blob/main/calculator/style.css"
click node_landing_page "https://github.com/karthick-gp/codsoft/blob/main/landing%20page/landing.html"
click node_landing_styles "https://github.com/karthick-gp/codsoft/blob/main/landing%20page/style.css"

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_resume,node_portfolio_styles toneBlue
class node_calculator_page,node_calculator_logic,node_calculator_styles toneAmber
class node_landing_page,node_landing_styles toneMint
class node_visitor toneIndigo
```

## Components

### Portfolio

- [Portfolio Page](https://github.com/karthick-gp/codsoft/blob/main/PORTFOLIO/index.html): `PORTFOLIO/index.html`
- [Resume PDF](https://github.com/karthick-gp/codsoft/blob/main/PORTFOLIO/Resume.pdf): `PORTFOLIO/Resume.pdf`
- [Portfolio Styles](https://github.com/karthick-gp/codsoft/blob/main/PORTFOLIO/style.css): `PORTFOLIO/style.css`

### Calculator

- [Calculator Page](https://github.com/karthick-gp/codsoft/blob/main/calculator/calci.html): `calculator/calci.html`
- [Calculator Logic](https://github.com/karthick-gp/codsoft/blob/main/calculator/script.js): `calculator/script.js`
- [Calculator Styles](https://github.com/karthick-gp/codsoft/blob/main/calculator/style.css): `calculator/style.css`

### Landing Page

- [Landing Page](https://github.com/karthick-gp/codsoft/blob/main/landing%20page/landing.html): `landing page/landing.html`
- [Landing Styles](https://github.com/karthick-gp/codsoft/blob/main/landing%20page/style.css): `landing page/style.css`

### Other components

- **Visitor**

## Connections

- Calculator Logic → Calculator Page: binds controls (evidence: `calculator/script.js`)
- Visitor → Portfolio Page: views
- Visitor → Calculator Page: uses
- Visitor → Landing Page: views
