-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (58 loc) · 2.23 KB
/
index.html
File metadata and controls
62 lines (58 loc) · 2.23 KB
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
<!DOCTYPE html>
<html lang="es">
<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" />
<title>Expense Manager</title>
<link
href="https://fonts.googleapis.com/css2?family=Lato:wght@400;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="css/normalize.css" />
<link rel="stylesheet" href="css/styles.css" />
</head>
<body>
<header class="header">
<h1 class="header__heading">Administrador de Gastos</h1>
<button id="reset-budget" class="button button--add">Reiniciar presupuesto</button>
</header>
<main class="main main__container">
<section class="main__add-expenses">
<h2 class="main__heading">Añade tus gastos aquí</h2>
<form id="form" action="#">
<div class="form__expense">
<label class="form__label" for="expense">Gasto:</label>
<input type="text" class="form__input" id="expense" placeholder="Nombre del gasto" />
</div>
<div class="form__quantity">
<label class="form__label" for="amount">Monto:</label>
<input type="number" class="form__input" id="amount" placeholder="Monto en $" />
</div>
<button type="submit" class="button button--add">Agregar</button>
</form>
</section>
<section class="main__expense-list">
<table class="table">
<thead class="table__head">
<tr class="table__head-row">
<th class="table__head-cell">Gasto</th>
<th class="table__head-cell">Monto</th>
<th class="table__head-cell"></th>
</tr>
</thead>
<tbody class="table__body"></tbody>
</table>
</section>
<div class="results">
<div class="results__budget">
<p id="user-budget" class="results__text">Presupuesto: $0</p>
</div>
<div id="budget-remaining-container" class="results__budget results__budget--remaining-25">
<p id="budget-remaining" class="results__text">Restante: $0</p>
</div>
</div>
</main>
<script type="module" src="js/app.js"></script>
</body>
</html>