# feldyaja/pemrograman_web_itera_124140083 architecture

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

- Interactive diagram: https://gitdiagram.com/feldyaja/pemrograman_web_itera_124140083
- Repository: https://github.com/feldyaja/pemrograman_web_itera_124140083

## Overview

The repository is a set of Indonesian-language browser exercises and small demos, rather than one unified application. Its major experiences are a local shopping-cart calculator, a weather-and-world-clock dashboard, and an ES6 demonstration/assignment page; earlier standalone modules teach variables, loops, arrays, DOM/local storage, and fetching paginated posts. Edges reflect only calls or data use visible in the supplied excerpts and SOURCE INDEX; unsampled HTML wiring is not inferred.

Main entry points: [`Feldy_124140083_pertemuan2/js/app.js`](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/js/app.js) (Weather Dashboard Logic), [`Feldy_124140083_pertemuan2/latihan/js/main.js`](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/js/main.js) (Demo Page Controller), [`Feldy_124140083_pertemuan1/modul/4_dom_api.js`](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/modul/4_dom_api.js) (DOM and API Exercises), [`Feldy_124140083_pertemuan2/latihan/js/app.js`](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/js/app.js) (ES6 Demos and Assignments)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_basics["JavaScript Basics"]
  node_variable_exercises["Variable Exercises<br/>[1_variabel.js]"]
  node_loop_exercises["Loop and Function Exercises<br/>[2_loop_fungsi.js]"]
  node_array_exercises["Array and Object Exercises<br/>[3_array_objek.js]"]
  node_dom_exercises["DOM and API Exercises<br/>[4_dom_api.js]"]
end

subgraph group_shop["Cashier Calculator"]
  node_shop_ui["Cart and Totals UI<br/>[script.js]"]
end

subgraph group_weather["Weather Dashboard"]
  node_weather_entry["Dashboard Startup<br/>[main.js]"]
  node_weather_app["Weather Dashboard Logic<br/>[app.js]"]
  node_weather_data["Weather Config and Codes<br/>[data.js]"]
  node_weather_utils["Weather Formatting<br/>[utils.js]"]
  node_weather_ui["Dashboard Page<br/>[index.html]"]
end

subgraph group_learning["ES6 Demo Lab"]
  node_demo_entry["Demo Page Controller<br/>[main.js]"]
  node_demo_app["ES6 Demos and Assignments<br/>[app.js]"]
  node_demo_data["Sample Users and Products<br/>[data.js]"]
  node_demo_utils["Demo Formatting Helpers<br/>[utils.js]"]
  node_demo_ui["Exercise Page<br/>[index.html]"]
end

node_learner(("Learner"))
node_browser_storage[("Browser Local Storage")]
node_posts_service["Posts API"]
node_geocoding["Open-Meteo Geocoding"]
node_forecast["Open-Meteo Forecast"]

node_learner -->|"uses"| node_shop_ui
node_shop_ui -->|"reads and writes"| node_browser_storage
node_learner -.->|"uses"| node_dom_exercises
node_dom_exercises -->|"reads and writes"| node_browser_storage
node_dom_exercises -->|"fetches posts"| node_posts_service
node_weather_entry -->|"starts"| node_weather_app
node_weather_app -->|"uses config"| node_weather_data
node_weather_app -->|"formats values"| node_weather_utils
node_weather_utils -->|"reads zone names"| node_weather_data
node_weather_app -->|"loads and saves"| node_browser_storage
node_weather_app -->|"searches cities"| node_geocoding
node_weather_app -->|"fetches weather"| node_forecast
node_weather_app -.->|"renders dashboard"| node_weather_ui
node_demo_entry -->|"runs demos"| node_demo_app
node_demo_entry -->|"escapes output"| node_demo_utils
node_demo_app -->|"uses samples"| node_demo_data
node_demo_app -->|"uses helpers"| node_demo_utils
node_demo_entry -.->|"writes results"| node_demo_ui
node_learner -.->|"uses"| node_demo_entry
node_learner -.->|"uses"| node_variable_exercises
node_learner -.->|"uses"| node_loop_exercises
node_learner -.->|"uses"| node_array_exercises

click node_variable_exercises "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/modul/1_variabel.js"
click node_loop_exercises "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/modul/2_loop_fungsi.js"
click node_array_exercises "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/modul/3_array_objek.js"
click node_dom_exercises "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/modul/4_dom_api.js"
click node_shop_ui "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/script.js"
click node_weather_entry "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/js/main.js"
click node_weather_app "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/js/app.js"
click node_weather_data "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/js/modules/data.js"
click node_weather_utils "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/js/modules/utils.js"
click node_demo_entry "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/js/main.js"
click node_demo_app "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/js/app.js"
click node_demo_data "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/js/modules/data.js"
click node_demo_utils "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/js/modules/utils.js"
click node_weather_ui "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/index.html"
click node_demo_ui "https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/index.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_variable_exercises,node_loop_exercises,node_array_exercises,node_dom_exercises toneBlue
class node_shop_ui,node_browser_storage toneAmber
class node_weather_entry,node_weather_app,node_weather_data,node_weather_utils,node_weather_ui,node_posts_service toneMint
class node_demo_entry,node_demo_app,node_demo_data,node_demo_utils,node_demo_ui toneRose
class node_learner,node_geocoding,node_forecast toneIndigo
```

## Components

### JavaScript Basics

- [Variable Exercises](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/modul/1_variabel.js): `Feldy_124140083_pertemuan1/modul/1_variabel.js`
- [Loop and Function Exercises](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/modul/2_loop_fungsi.js): `Feldy_124140083_pertemuan1/modul/2_loop_fungsi.js`
- [Array and Object Exercises](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/modul/3_array_objek.js): `Feldy_124140083_pertemuan1/modul/3_array_objek.js`
- [DOM and API Exercises](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/modul/4_dom_api.js): `Feldy_124140083_pertemuan1/modul/4_dom_api.js`

### Cashier Calculator

- [Cart and Totals UI](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan1/script.js): `Feldy_124140083_pertemuan1/script.js`

### Weather Dashboard

- [Dashboard Startup](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/js/main.js): `Feldy_124140083_pertemuan2/js/main.js`
- [Weather Dashboard Logic](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/js/app.js): `Feldy_124140083_pertemuan2/js/app.js`
- [Weather Config and Codes](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/js/modules/data.js): `Feldy_124140083_pertemuan2/js/modules/data.js`
- [Weather Formatting](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/js/modules/utils.js): `Feldy_124140083_pertemuan2/js/modules/utils.js`
- [Dashboard Page](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/index.html): `Feldy_124140083_pertemuan2/index.html`

### ES6 Demo Lab

- [Demo Page Controller](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/js/main.js): `Feldy_124140083_pertemuan2/latihan/js/main.js`
- [ES6 Demos and Assignments](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/js/app.js): `Feldy_124140083_pertemuan2/latihan/js/app.js`
- [Sample Users and Products](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/js/modules/data.js): `Feldy_124140083_pertemuan2/latihan/js/modules/data.js`
- [Demo Formatting Helpers](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/js/modules/utils.js): `Feldy_124140083_pertemuan2/latihan/js/modules/utils.js`
- [Exercise Page](https://github.com/feldyaja/pemrograman_web_itera_124140083/blob/main/Feldy_124140083_pertemuan2/latihan/index.html): `Feldy_124140083_pertemuan2/latihan/index.html`

### Other components

- **Learner**
- **Browser Local Storage**
- **Posts API**
- **Open-Meteo Geocoding**
- **Open-Meteo Forecast**

## Connections

- Learner → Cart and Totals UI: uses (evidence: `Feldy_124140083_pertemuan1/script.js`)
- Cart and Totals UI → Browser Local Storage: reads and writes (evidence: `Feldy_124140083_pertemuan1/script.js`)
- Learner → DOM and API Exercises: uses
- DOM and API Exercises → Browser Local Storage: reads and writes (evidence: `Feldy_124140083_pertemuan1/modul/4_dom_api.js`)
- DOM and API Exercises → Posts API: fetches posts (evidence: `Feldy_124140083_pertemuan1/modul/4_dom_api.js`)
- Dashboard Startup → Weather Dashboard Logic: starts (evidence: `Feldy_124140083_pertemuan2/js/main.js`)
- Weather Dashboard Logic → Weather Config and Codes: uses config (evidence: `Feldy_124140083_pertemuan2/js/app.js`)
- Weather Dashboard Logic → Weather Formatting: formats values (evidence: `Feldy_124140083_pertemuan2/js/app.js`)
- Weather Formatting → Weather Config and Codes: reads zone names (evidence: `Feldy_124140083_pertemuan2/js/modules/utils.js`)
- Weather Dashboard Logic → Browser Local Storage: loads and saves (evidence: `Feldy_124140083_pertemuan2/js/app.js`)
- Weather Dashboard Logic → Open-Meteo Geocoding: searches cities (evidence: `Feldy_124140083_pertemuan2/js/app.js`)
- Weather Dashboard Logic → Open-Meteo Forecast: fetches weather (evidence: `Feldy_124140083_pertemuan2/js/app.js`)
- Weather Dashboard Logic → Dashboard Page: renders dashboard
- Demo Page Controller → ES6 Demos and Assignments: runs demos (evidence: `Feldy_124140083_pertemuan2/latihan/js/main.js`)
- Demo Page Controller → Demo Formatting Helpers: escapes output (evidence: `Feldy_124140083_pertemuan2/latihan/js/main.js`)
- ES6 Demos and Assignments → Sample Users and Products: uses samples (evidence: `Feldy_124140083_pertemuan2/latihan/js/app.js`)
- ES6 Demos and Assignments → Demo Formatting Helpers: uses helpers (evidence: `Feldy_124140083_pertemuan2/latihan/js/app.js`)
- Demo Page Controller → Exercise Page: writes results
- Learner → Demo Page Controller: uses
- Learner → Variable Exercises: uses
- Learner → Loop and Function Exercises: uses
- Learner → Array and Object Exercises: uses
