# vimalkumarbatchu09/csp-cyber-suraksha- architecture

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

- Interactive diagram: https://gitdiagram.com/vimalkumarbatchu09/csp-cyber-suraksha-
- Repository: https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-

## Overview

Cyber Suraksha is a browser-based cybersecurity awareness campaign. Visitors browse awareness material and threat guidance, then use interactive learning and protection demonstrations. The sampled JavaScript implements password and phishing checks, a locally saved checklist, a quiz, a simulated scan, and a simulated MFA flow. The README identifies the campaign but gives few implementation details; connections from individual pages to these features are therefore shown as unverified rather than asserted as source-proven calls.

Main entry points: [`tools.html`](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/tools.html) (Security tools), [`quiz.html`](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/quiz.html) (Cyber quiz), [`js/script.js`](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js) (Security checklist), [`index.html`](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/index.html) (Home)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_campaign["Campaign content"]
  node_home["Home<br/>[index.html]"]
  node_about["About<br/>[about.html]"]
  node_awareness["Awareness<br/>[awareness.html]"]
  node_threats["Threat guidance<br/>[threats.html]"]
  node_resources["Resources<br/>[resources.html]"]
  node_contact["Contact<br/>[contact.html]"]
end

subgraph group_learning["Interactive learning"]
  node_quiz["Cyber quiz<br/>[quiz.html]"]
  node_quiz_logic["Quiz logic<br/>[script.js]"]
end

subgraph group_protection["Protection tools"]
  node_tools["Security tools<br/>[tools.html]"]
  node_password_check["Password checker<br/>[script.js]"]
  node_phishing_check["Phishing checker<br/>[script.js]"]
  node_checklist["Security checklist<br/>[script.js]"]
  node_scan["Simulated scan<br/>[script.js]"]
  node_login["Login demo<br/>[login.html]"]
  node_mfa["MFA demo<br/>[mfa.html]"]
  node_mfa_logic["MFA logic<br/>[script.js]"]
  node_signup["Signup demo<br/>[signup.html]"]
  node_dashboard["Dashboard<br/>[dashboard.html]"]
end

subgraph group_presentation["Shared presentation"]
  node_styles["Site styling<br/>[style.css]"]
end

node_visitor(("Visitor"))

node_visitor -->|"visits"| node_home
node_visitor -.->|"browses"| node_about
node_visitor -.->|"learns"| node_awareness
node_visitor -.->|"reviews"| node_threats
node_visitor -.->|"browses"| node_resources
node_visitor -.->|"takes"| node_quiz
node_visitor -.->|"opens"| node_tools
node_visitor -.->|"contacts"| node_contact
node_quiz -.->|"uses"| node_quiz_logic
node_tools -.->|"uses"| node_password_check
node_tools -.->|"uses"| node_phishing_check
node_tools -.->|"uses"| node_checklist
node_tools -.->|"uses"| node_scan
node_visitor -.->|"opens"| node_login
node_visitor -.->|"opens"| node_signup
node_visitor -.->|"opens"| node_dashboard
node_mfa -.->|"uses"| node_mfa_logic
node_visitor -.->|"tries"| node_mfa
node_home -.->|"styled by"| node_styles
node_quiz_logic -.->|"renders"| node_quiz
node_checklist -->|"persists state"| node_checklist

click node_home "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/index.html"
click node_about "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/about.html"
click node_awareness "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/awareness.html"
click node_threats "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/threats.html"
click node_resources "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/resources.html"
click node_quiz "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/quiz.html"
click node_quiz_logic "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js"
click node_contact "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/contact.html"
click node_tools "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/tools.html"
click node_password_check "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js"
click node_phishing_check "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js"
click node_checklist "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js"
click node_scan "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js"
click node_login "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/login.html"
click node_mfa "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/mfa.html"
click node_mfa_logic "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js"
click node_signup "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/signup.html"
click node_dashboard "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/dashboard.html"
click node_styles "https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/css/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_home,node_about,node_awareness,node_threats,node_resources,node_contact toneBlue
class node_quiz,node_quiz_logic toneAmber
class node_tools,node_password_check,node_phishing_check,node_checklist,node_scan,node_login,node_mfa,node_mfa_logic,node_signup,node_dashboard toneMint
class node_styles toneRose
class node_visitor toneIndigo
```

## Components

### Campaign content

- [Home](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/index.html): `index.html`
- [About](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/about.html): `about.html`
- [Awareness](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/awareness.html): `awareness.html`
- [Threat guidance](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/threats.html): `threats.html`
- [Resources](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/resources.html): `resources.html`
- [Contact](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/contact.html): `contact.html`

### Interactive learning

- [Cyber quiz](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/quiz.html): `quiz.html`
- [Quiz logic](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js): `js/script.js`

### Protection tools

- [Security tools](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/tools.html): `tools.html`
- [Password checker](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js): `js/script.js`
- [Phishing checker](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js): `js/script.js`
- [Security checklist](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js): `js/script.js`
- [Simulated scan](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js): `js/script.js`
- [Login demo](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/login.html): `login.html`
- [MFA demo](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/mfa.html): `mfa.html`
- [MFA logic](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/js/script.js): `js/script.js`
- [Signup demo](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/signup.html): `signup.html`
- [Dashboard](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/dashboard.html): `dashboard.html`

### Shared presentation

- [Site styling](https://github.com/vimalkumarbatchu09/csp-cyber-suraksha-/blob/main/css/style.css): `css/style.css`

### Other components

- **Visitor**

## Connections

- Visitor → Home: visits (evidence: `README.md`)
- Visitor → About: browses
- Visitor → Awareness: learns
- Visitor → Threat guidance: reviews
- Visitor → Resources: browses
- Visitor → Cyber quiz: takes
- Visitor → Security tools: opens
- Visitor → Contact: contacts
- Cyber quiz → Quiz logic: uses
- Security tools → Password checker: uses
- Security tools → Phishing checker: uses
- Security tools → Security checklist: uses
- Security tools → Simulated scan: uses
- Visitor → Login demo: opens
- Visitor → Signup demo: opens
- Visitor → Dashboard: opens
- MFA demo → MFA logic: uses
- Visitor → MFA demo: tries
- Home → Site styling: styled by
- Quiz logic → Cyber quiz: renders
- Security checklist → Security checklist: persists state (evidence: `js/script.js`)
