# jetlearn-curriculum/l4_lunar_explorer architecture

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

- Interactive diagram: https://gitdiagram.com/jetlearn-curriculum/l4_lunar_explorer
- Repository: https://github.com/jetlearn-curriculum/l4_lunar_explorer

## Overview

This repository is a browser-based lunar exploration learning experience. Visitors can browse mission history and lunar facts, take a quiz, and ask L.U.N.A. questions; the JavaScript also provides page navigation and visual effects. The sampled source places these behaviors in one file. The README is empty, and the HTML and CSS were not sampled, so the graph omits unsupported page-wiring and styling relationships.

Main entry points: [`main.js`](https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js) (L.U.N.A. Assistant)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_content["Learning Content"]
  node_missions["Mission History<br/>[main.js]"]
  node_facts["Lunar Facts<br/>[main.js]"]
end

subgraph group_interaction["Visitor Interactions"]
  node_quiz["Knowledge Quiz<br/>[main.js]"]
  node_luna["L.U.N.A. Assistant<br/>[main.js]"]
  node_speech["Browser Speech"]
end

subgraph group_presentation["Page Presentation"]
  node_navigation["Page Navigation<br/>[main.js]"]
  node_effects["Visual Effects<br/>[main.js]"]
end

node_visitor(("Visitor"))

node_visitor -->|"browses"| node_missions
node_visitor -->|"answers"| node_quiz
node_visitor -->|"asks questions"| node_luna
node_visitor -->|"navigates"| node_navigation
node_luna -->|"speaks answers"| node_speech

click node_missions "https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js"
click node_facts "https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js"
click node_quiz "https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js"
click node_luna "https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js"
click node_navigation "https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js"
click node_effects "https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.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_missions,node_facts toneBlue
class node_quiz,node_luna,node_speech toneAmber
class node_navigation,node_effects toneMint
class node_visitor toneIndigo
```

## Components

### Learning Content

- [Mission History](https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js): `main.js`
- [Lunar Facts](https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js): `main.js`

### Visitor Interactions

- [Knowledge Quiz](https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js): `main.js`
- [L.U.N.A. Assistant](https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js): `main.js`
- **Browser Speech**

### Page Presentation

- [Page Navigation](https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js): `main.js`
- [Visual Effects](https://github.com/jetlearn-curriculum/l4_lunar_explorer/blob/main/main.js): `main.js`

### Other components

- **Visitor**

## Connections

- Visitor → Mission History: browses (evidence: `main.js`)
- Visitor → Knowledge Quiz: answers (evidence: `main.js`)
- Visitor → L.U.N.A. Assistant: asks questions (evidence: `main.js`)
- Visitor → Page Navigation: navigates (evidence: `main.js`)
- L.U.N.A. Assistant → Browser Speech: speaks answers (evidence: `main.js`)
