-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
36 lines (29 loc) · 1016 Bytes
/
Copy pathindex.html
File metadata and controls
36 lines (29 loc) · 1016 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>Juntada Manager</title>
<link rel="stylesheet" href="./css/divisor.css"/>
<script src="./javascript/divisor.js" defer></script>
</head>
<body>
<h1>Divisor de Gastos</h1>
<div id="form-container">
<label for="cantidadPersonas">¿Cuántas personas son?</label><br />
<input type="number" id="cantidadPersonas" min="1" /><br />
<button onclick="generarFormulario()">Continuar</button>
</div>
<div id="personasForm"></div>
<div id="resultado"></div>
<div id="buscador-container">
<h2>Buscar Tipo de Gasto</h2>
<input type="text" id="busquedaGasto" placeholder="Ej: carne, bebidas..." onkeyup="buscarGasto()" />
<div id="resultadosBusqueda"></div>
</div>
<h2>Tipos de Gasto</h2>
<div id="gastoCards" class="card-grid">
<!-- Los gastos se cargarán dinámicamente desde gastos.json -->
</div>
</body>
</html>