# n4zr-sketcher/where-is-my-job architecture

> Architecture diagram of the GitHub repository n4zr-sketcher/where-is-my-job, 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/n4zr-sketcher/where-is-my-job
- Repository: https://github.com/n4zr-sketcher/where-is-my-job

## Overview

Where Is My Job is a static, browser-based career platform. Users browse and filter job and course listings, inspect company and job information, open reusable course details, and access application, contact, registration, and login pages. Page-specific vanilla JavaScript handles filtering, rendering, and form interactions; registration and login use browser storage or demo credentials rather than a production authentication service. The README documents the course-catalog-to-detail URL flow. Page-script pairings are supported by the sampled DOM code; wiring not shown in the excerpts is omitted.

Main entry points: [`pages/courses.html`](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/courses.html) (Course Catalog), [`scripts/register.js`](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/register.js) (Registration Logic), [`scripts/login.js`](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/login.js) (Login Logic), [`pages/home.html`](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/home.html) (Home)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_discovery["Career Discovery"]
  node_home["Home<br/>[home.html]"]
  node_home_behavior["Home Interactions<br/>[home.js]"]
  node_jobs["Job Listings<br/>[jobs.html]"]
  node_job_filters["Job Filters<br/>[jobs.js]"]
  node_job_detail["Job Details<br/>[job-details.html]"]
  node_job_detail_behavior["Job Selection<br/>[job-details.js]"]
  node_companies["Company Profiles<br/>[companies.html]"]
  node_company_behavior["Company Details<br/>[companies.js]"]
end

subgraph group_learning["Course Discovery"]
  node_courses["Course Catalog<br/>[courses.html]"]
  node_course_filters["Course Filters<br/>[courses.js]"]
  node_course_detail["Course Details"]
  node_course_renderer["Course Renderer<br/>[courses-detail.js]"]
end

subgraph group_engagement["Forms and Accounts"]
  node_application["Application Form"]
  node_application_behavior["Resume Picker<br/>[appform.js]"]
  node_contact["Contact Page<br/>[contact.html]"]
  node_contact_behavior["Contact Form<br/>[contact.js]"]
  node_registration["Registration<br/>[register.html]"]
  node_registration_behavior["Registration Logic<br/>[register.js]"]
  node_login["Account Login<br/>[index.html]"]
  node_login_behavior["Login Logic<br/>[login.js]"]
  node_browser_storage[("Browser Storage")]
end

subgraph group_shared["Shared Navigation"]
  node_navigation["Responsive Navigation<br/>[common.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"opens"| node_home
node_visitor -->|"browses"| node_jobs
node_visitor -->|"views"| node_companies
node_visitor -->|"explores"| node_courses
node_visitor -->|"applies"| node_application
node_visitor -->|"contacts"| node_contact
node_visitor -->|"registers"| node_registration
node_visitor -->|"signs in"| node_login
node_home_behavior -->|"filters cards"| node_home
node_job_filters -->|"filters listings"| node_jobs
node_job_detail_behavior -->|"selects listing"| node_job_detail
node_company_behavior -->|"renders details"| node_companies
node_course_filters -->|"filters catalog"| node_courses
node_courses -->|"links by course key"| node_course_detail
node_course_renderer -->|"renders course"| node_course_detail
node_application_behavior -->|"shows filename"| node_application
node_contact_behavior -->|"handles submission"| node_contact
node_registration_behavior -->|"validates form"| node_registration
node_registration_behavior -->|"writes user"| node_browser_storage
node_login_behavior -->|"reads user"| node_browser_storage
node_login_behavior -->|"checks credentials"| node_login
node_visitor -->|"toggles menu"| node_navigation

click node_home "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/home.html"
click node_home_behavior "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/home.js"
click node_jobs "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/jobs.html"
click node_job_filters "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/jobs.js"
click node_job_detail "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/job-details.html"
click node_job_detail_behavior "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/job-details.js"
click node_companies "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/companies.html"
click node_company_behavior "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/companies.js"
click node_courses "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/courses.html"
click node_course_filters "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/courses.js"
click node_course_detail "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/courses-detail.html"
click node_course_renderer "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/courses-detail.js"
click node_application "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/applicationform.html"
click node_application_behavior "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/appform.js"
click node_contact "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/contact.html"
click node_contact_behavior "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/contact.js"
click node_registration "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/register.html"
click node_registration_behavior "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/register.js"
click node_login "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/index.html"
click node_login_behavior "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/login.js"
click node_navigation "https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/common.js"

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_home_behavior,node_jobs,node_job_filters,node_job_detail,node_job_detail_behavior,node_companies,node_company_behavior toneBlue
class node_courses,node_course_filters,node_course_detail,node_course_renderer toneAmber
class node_application,node_application_behavior,node_contact,node_contact_behavior,node_registration,node_registration_behavior,node_login,node_login_behavior,node_browser_storage toneMint
class node_navigation toneRose
class node_visitor toneIndigo
```

## Components

### Career Discovery

- [Home](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/home.html): `pages/home.html`
- [Home Interactions](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/home.js): `scripts/home.js`
- [Job Listings](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/jobs.html): `pages/jobs.html`
- [Job Filters](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/jobs.js): `scripts/jobs.js`
- [Job Details](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/job-details.html): `pages/job-details.html`
- [Job Selection](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/job-details.js): `scripts/job-details.js`
- [Company Profiles](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/companies.html): `pages/companies.html`
- [Company Details](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/companies.js): `scripts/companies.js`

### Course Discovery

- [Course Catalog](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/courses.html): `pages/courses.html`
- [Course Filters](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/courses.js): `scripts/courses.js`
- [Course Details](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/courses-detail.html): `pages/courses-detail.html`
- [Course Renderer](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/courses-detail.js): `scripts/courses-detail.js`

### Forms and Accounts

- [Application Form](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/applicationform.html): `pages/applicationform.html`
- [Resume Picker](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/appform.js): `scripts/appform.js`
- [Contact Page](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/contact.html): `pages/contact.html`
- [Contact Form](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/contact.js): `scripts/contact.js`
- [Registration](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/pages/register.html): `pages/register.html`
- [Registration Logic](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/register.js): `scripts/register.js`
- [Account Login](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/index.html): `index.html`
- [Login Logic](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/login.js): `scripts/login.js`
- **Browser Storage**

### Shared Navigation

- [Responsive Navigation](https://github.com/n4zr-sketcher/where-is-my-job/blob/main/scripts/common.js): `scripts/common.js`

### Other components

- **Visitor**

## Connections

- Visitor → Home: opens (evidence: `README.md`)
- Visitor → Job Listings: browses (evidence: `README.md`)
- Visitor → Company Profiles: views (evidence: `README.md`)
- Visitor → Course Catalog: explores (evidence: `README.md`)
- Visitor → Application Form: applies (evidence: `README.md`)
- Visitor → Contact Page: contacts (evidence: `README.md`)
- Visitor → Registration: registers (evidence: `README.md`)
- Visitor → Account Login: signs in (evidence: `README.md`)
- Home Interactions → Home: filters cards (evidence: `scripts/home.js`)
- Job Filters → Job Listings: filters listings (evidence: `scripts/jobs.js`)
- Job Selection → Job Details: selects listing (evidence: `scripts/job-details.js`)
- Company Details → Company Profiles: renders details (evidence: `scripts/companies.js`)
- Course Filters → Course Catalog: filters catalog (evidence: `scripts/courses.js`)
- Course Catalog → Course Details: links by course key (evidence: `README.md`)
- Course Renderer → Course Details: renders course (evidence: `scripts/courses-detail.js`)
- Resume Picker → Application Form: shows filename (evidence: `scripts/appform.js`)
- Contact Form → Contact Page: handles submission (evidence: `scripts/contact.js`)
- Registration Logic → Registration: validates form (evidence: `scripts/register.js`)
- Registration Logic → Browser Storage: writes user (evidence: `scripts/register.js`)
- Login Logic → Browser Storage: reads user (evidence: `scripts/login.js`)
- Login Logic → Account Login: checks credentials (evidence: `scripts/login.js`)
- Visitor → Responsive Navigation: toggles menu (evidence: `scripts/common.js`)
