-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
73 lines (63 loc) · 2.37 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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.3.0/css/all.min.css">
<link rel="stylesheet" href="./css/style.css">
<title>Budget app | KevDev</title>
</head>
<body>
<div class="wrapper">
<div class="container">
<div class="sub-container">
<div class="total-amount-container">
<h3>Presupuesto</h3>
<p class="hide error" id="budget-error">
Value cannot be empty or negative
</p>
<input type="number" id="total-amount" placeholder="Ingrese el monto">
<button class="submit" id="total-amount-button">
Ingresar Presupuesto
</button>
</div>
<div class="user-amount-container">
<h3>Gastos</h3>
<p class="hide error" id="product-title-error">
Values cannot be empty
</p>
<input type="text" class="product-title" id="product-title" placeholder="Nombre de la actividad">
<input type="number" id="user-amount" placeholder="Costo de la actividad">
<button class="submit" id="check-amount">Ingresar Gasto</button>
</div>
</div>
<div class="output-container flex-space">
<div>
<p>Total del presupuesto</p>
<span id="amount">
0
</span>
</div>
<div>
<p>Gastos</p>
<span id="expenditure-value">
0
</span>
</div>
<div>
<p>Balance</p>
<span id="balance-amount">
0
</span>
</div>
</div>
</div>
<div class="list">
<h3>Lista de gastos</h3>
<div class="list-container" id="list"></div>
</div>
</div>
<script src="./js/main.js"></script>
</body>
</html>