# rt-learnig/rt-learning architecture

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

- Interactive diagram: https://gitdiagram.com/rt-learnig/rt-learning
- Repository: https://github.com/rt-learnig/rt-learning

## Overview

RT Learning is a static, browser-based English-learning site. Learners enter through the dashboard or course/practice navigation, browse four course tracks and their lessons, or complete practice quizzes; browser-side scripts provide study activity, profile, theme, and progress tools. The graph preserves those documented product areas, while the exact links between unsampled HTML pages and scripts are limited to explicit references in the excerpts or README. There is no backend or shared database; learner state is stored in browser localStorage.

Main entry points: [`Pages/My course/My course.html`](https://github.com/rt-learnig/rt-learning/blob/master/Pages/My%20course/My%20course.html) (Course catalog), [`js/Dashboard.js`](https://github.com/rt-learnig/rt-learning/blob/master/js/Dashboard.js) (Study activity), [`Pages/Practice Test/practice-test.html`](https://github.com/rt-learnig/rt-learning/blob/master/Pages/Practice%20Test/practice-test.html) (Practice catalog), [`js/Theme.js`](https://github.com/rt-learnig/rt-learning/blob/master/js/Theme.js) (Theme settings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_learning["Learning content"]
  node_catalog["Course catalog<br/>[My course.html]"]
  node_business["Business English"]
  node_everyday["Everyday fluency"]
  node_ielts["IELTS / TOEFL"]
  node_academic["Academic writing"]
end

subgraph group_practice["Practice activities"]
  node_practicecatalog["Practice catalog<br/>[practice-test.html]"]
  node_practicequizzes["Practice quizzes"]
end

subgraph group_learner["Learner tools"]
  node_dashboard["Dashboard<br/>[index.html]"]
  node_dashlogic["Study activity<br/>[Dashboard.js]"]
  node_progress["Progress sync<br/>[StreakSync.js]"]
  node_profilesync["Profile sync<br/>[ProfileSync.js]"]
  node_profile["Profile editor<br/>[Proffile.js]"]
  node_theme["Theme settings<br/>[Theme.js]"]
  node_browserstore[("Browser storage")]
end

subgraph group_navigation["Site navigation"]
  node_coursenav["Course navigation<br/>[CourseNav.js]"]
  node_practicenav["Practice navigation<br/>[PracticeNav.js]"]
  node_account["Account pages<br/>[Login.html]"]
  node_contact["Contact page<br/>[Contact.html]"]
end

node_learner(("Learner"))

node_learner -->|"opens"| node_dashboard
node_dashboard -.->|"runs"| node_dashlogic
node_dashlogic -->|"reads / writes"| node_browserstore
node_dashlogic -.->|"updates streak"| node_progress
node_learner -->|"browses"| node_catalog
node_catalog -.->|"offers track"| node_business
node_catalog -.->|"offers track"| node_everyday
node_catalog -.->|"offers track"| node_ielts
node_catalog -.->|"offers track"| node_academic
node_coursenav -->|"links to"| node_catalog
node_coursenav -->|"loads"| node_theme
node_learner -->|"opens"| node_practicecatalog
node_practicecatalog -.->|"offers tests"| node_practicequizzes
node_practicenav -->|"links to"| node_practicecatalog
node_learner -->|"edits profile"| node_profile
node_profile -->|"reads / writes"| node_browserstore
node_profilesync -->|"reads"| node_browserstore
node_learner -->|"sets preference"| node_theme
node_theme -->|"reads / writes"| node_browserstore
node_progress -->|"reads"| node_browserstore
node_learner -->|"visits"| node_account
node_learner -->|"visits"| node_contact

click node_dashboard "https://github.com/rt-learnig/rt-learning/blob/master/index.html"
click node_dashlogic "https://github.com/rt-learnig/rt-learning/blob/master/js/Dashboard.js"
click node_progress "https://github.com/rt-learnig/rt-learning/blob/master/js/StreakSync.js"
click node_profilesync "https://github.com/rt-learnig/rt-learning/blob/master/js/ProfileSync.js"
click node_profile "https://github.com/rt-learnig/rt-learning/blob/master/js/Proffile.js"
click node_theme "https://github.com/rt-learnig/rt-learning/blob/master/js/Theme.js"
click node_catalog "https://github.com/rt-learnig/rt-learning/blob/master/Pages/My%20course/My%20course.html"
click node_business "https://github.com/rt-learnig/rt-learning/tree/master/Pages/My%20course/Business%20English%20.course"
click node_everyday "https://github.com/rt-learnig/rt-learning/tree/master/Pages/My%20course/Everyday%20Fluency.course"
click node_ielts "https://github.com/rt-learnig/rt-learning/tree/master/Pages/My%20course/IELTS%20%26%20TOEFL.course"
click node_academic "https://github.com/rt-learnig/rt-learning/tree/master/Pages/My%20course/academic-writing-courses"
click node_coursenav "https://github.com/rt-learnig/rt-learning/blob/master/js/CourseNav.js"
click node_practicecatalog "https://github.com/rt-learnig/rt-learning/blob/master/Pages/Practice%20Test/practice-test.html"
click node_practicequizzes "https://github.com/rt-learnig/rt-learning/tree/master/Pages/Practice%20Test"
click node_practicenav "https://github.com/rt-learnig/rt-learning/blob/master/js/PracticeNav.js"
click node_account "https://github.com/rt-learnig/rt-learning/blob/master/Pages/Login.html"
click node_contact "https://github.com/rt-learnig/rt-learning/blob/master/Pages/Contact.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_catalog,node_business,node_everyday,node_ielts,node_academic toneBlue
class node_practicecatalog,node_practicequizzes toneAmber
class node_dashboard,node_dashlogic,node_progress,node_profilesync,node_profile,node_theme,node_browserstore toneMint
class node_coursenav,node_practicenav,node_account,node_contact toneRose
class node_learner toneIndigo
```

## Components

### Learning content

- [Course catalog](https://github.com/rt-learnig/rt-learning/blob/master/Pages/My%20course/My%20course.html): `Pages/My course/My course.html`
- [Business English](https://github.com/rt-learnig/rt-learning/tree/master/Pages/My%20course/Business%20English%20.course): `Pages/My course/Business English .course`
- [Everyday fluency](https://github.com/rt-learnig/rt-learning/tree/master/Pages/My%20course/Everyday%20Fluency.course): `Pages/My course/Everyday Fluency.course`
- [IELTS / TOEFL](https://github.com/rt-learnig/rt-learning/tree/master/Pages/My%20course/IELTS%20%26%20TOEFL.course): `Pages/My course/IELTS & TOEFL.course`
- [Academic writing](https://github.com/rt-learnig/rt-learning/tree/master/Pages/My%20course/academic-writing-courses): `Pages/My course/academic-writing-courses`

### Practice activities

- [Practice catalog](https://github.com/rt-learnig/rt-learning/blob/master/Pages/Practice%20Test/practice-test.html): `Pages/Practice Test/practice-test.html`
- [Practice quizzes](https://github.com/rt-learnig/rt-learning/tree/master/Pages/Practice%20Test): `Pages/Practice Test`

### Learner tools

- [Dashboard](https://github.com/rt-learnig/rt-learning/blob/master/index.html): `index.html`
- [Study activity](https://github.com/rt-learnig/rt-learning/blob/master/js/Dashboard.js): `js/Dashboard.js`
- [Progress sync](https://github.com/rt-learnig/rt-learning/blob/master/js/StreakSync.js): `js/StreakSync.js`
- [Profile sync](https://github.com/rt-learnig/rt-learning/blob/master/js/ProfileSync.js): `js/ProfileSync.js`
- [Profile editor](https://github.com/rt-learnig/rt-learning/blob/master/js/Proffile.js): `js/Proffile.js`
- [Theme settings](https://github.com/rt-learnig/rt-learning/blob/master/js/Theme.js): `js/Theme.js`
- **Browser storage**

### Site navigation

- [Course navigation](https://github.com/rt-learnig/rt-learning/blob/master/js/CourseNav.js): `js/CourseNav.js`
- [Practice navigation](https://github.com/rt-learnig/rt-learning/blob/master/js/PracticeNav.js): `js/PracticeNav.js`
- [Account pages](https://github.com/rt-learnig/rt-learning/blob/master/Pages/Login.html): `Pages/Login.html`
- [Contact page](https://github.com/rt-learnig/rt-learning/blob/master/Pages/Contact.html): `Pages/Contact.html`

### Other components

- **Learner**

## Connections

- Learner → Dashboard: opens (evidence: `README.md`)
- Dashboard → Study activity: runs
- Study activity → Browser storage: reads / writes (evidence: `js/Dashboard.js`)
- Study activity → Progress sync: updates streak
- Learner → Course catalog: browses (evidence: `README.md`)
- Course catalog → Business English: offers track
- Course catalog → Everyday fluency: offers track
- Course catalog → IELTS / TOEFL: offers track
- Course catalog → Academic writing: offers track
- Course navigation → Course catalog: links to (evidence: `js/CourseNav.js`)
- Course navigation → Theme settings: loads (evidence: `js/CourseNav.js`)
- Learner → Practice catalog: opens (evidence: `README.md`)
- Practice catalog → Practice quizzes: offers tests
- Practice navigation → Practice catalog: links to (evidence: `js/PracticeNav.js`)
- Learner → Profile editor: edits profile (evidence: `README.md`)
- Profile editor → Browser storage: reads / writes (evidence: `js/Proffile.js`)
- Profile sync → Browser storage: reads (evidence: `js/ProfileSync.js`)
- Learner → Theme settings: sets preference (evidence: `README.md`)
- Theme settings → Browser storage: reads / writes (evidence: `js/Theme.js`)
- Progress sync → Browser storage: reads (evidence: `js/StreakSync.js`)
- Learner → Account pages: visits (evidence: `README.md`)
- Learner → Contact page: visits (evidence: `README.md`)
