-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (30 loc) · 1.2 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Control de Gastos Mensuales</title>
<link rel="stylesheet" href="assets/css/style.css">
</head>
<body>
<div class="main-container">
<div class="container">
<div class="img-container">
<img src="./assets/img/titulo.png" />
</div>
<div class="form-group">
<input type="text" id="nombreGasto" placeholder="Nombre del gasto">
<input type="text" id="descripcionGasto" placeholder="Descripción del gasto">
<input type="number" id="valorGasto" placeholder="Valor del gasto" min="0" step="0.01">
<button id="botonFormulario" onclick="clickRegistrar();">Agregar Gasto</button>
</div>
<!-- <ul id="listaDeGastos"></ul> *USANDO LISTA NO ORDENADA -->
<table id="listaDeGastos"></table> <!-- USANDO TABLA -->
<div class="total">
Total Mensual: US$ <span id="totalGastos">0.00</span>
</div>
</div>
</div>
<script src="assets/js/script.js"></script>
</body>
</html>