# drk-yz/lista-de-afazeres architecture

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

- Interactive diagram: https://gitdiagram.com/drk-yz/lista-de-afazeres
- Repository: https://github.com/drk-yz/lista-de-afazeres

## Overview

É um pequeno aplicativo web de lista de tarefas, feito para praticar HTML, CSS e JavaScript. O fluxo principal recebe ações do usuário, altera tarefas, salva o estado no armazenamento local e atualiza a interface. O código também oferece uma animação de vídeo ao adicionar a tarefa “67”. A árvore confirma a página e os estilos, mas só há código-fonte amostrado para a lógica JavaScript; as relações mostradas se limitam às chamadas visíveis nesse arquivo.

Main entry points: [`script/lista.js`](https://github.com/drk-yz/lista-de-afazeres/blob/main/script/lista.js) (Lógica de tarefas), [`index.html`](https://github.com/drk-yz/lista-de-afazeres/blob/main/index.html) (Página HTML), [`img/videos/67.mp4`](https://github.com/drk-yz/lista-de-afazeres/blob/main/img/videos/67.mp4) (Vídeo especial)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_tasks["Tarefas"]
  node_task_logic["Lógica de tarefas<br/>[lista.js]"]
  node_browser_storage[("Armazenamento local")]
end

subgraph group_interface["Interface e mídia"]
  node_page["Página HTML<br/>[index.html]"]
  node_video["Vídeo especial<br/>[67.mp4]"]
end

node_user(("Usuário"))

node_user -->|"aciona eventos"| node_task_logic
node_task_logic -->|"lê e grava"| node_browser_storage
node_task_logic -->|"atualiza DOM"| node_page
node_task_logic -->|"reproduz ao adicionar"| node_video

click node_task_logic "https://github.com/drk-yz/lista-de-afazeres/blob/main/script/lista.js"
click node_page "https://github.com/drk-yz/lista-de-afazeres/blob/main/index.html"
click node_video "https://github.com/drk-yz/lista-de-afazeres/blob/main/img/videos/67.mp4"

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_task_logic,node_browser_storage toneBlue
class node_page,node_video toneAmber
class node_user toneIndigo
```

## Components

### Tarefas

- [Lógica de tarefas](https://github.com/drk-yz/lista-de-afazeres/blob/main/script/lista.js): `script/lista.js`
- **Armazenamento local**

### Interface e mídia

- [Página HTML](https://github.com/drk-yz/lista-de-afazeres/blob/main/index.html): `index.html`
- [Vídeo especial](https://github.com/drk-yz/lista-de-afazeres/blob/main/img/videos/67.mp4): `img/videos/67.mp4`

### Other components

- **Usuário**

## Connections

- Usuário → Lógica de tarefas: aciona eventos (evidence: `script/lista.js`)
- Lógica de tarefas → Armazenamento local: lê e grava (evidence: `script/lista.js`)
- Lógica de tarefas → Página HTML: atualiza DOM (evidence: `script/lista.js`)
- Lógica de tarefas → Vídeo especial: reproduz ao adicionar (evidence: `script/lista.js`)
