-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
95 lines (83 loc) · 3.78 KB
/
index.html
File metadata and controls
95 lines (83 loc) · 3.78 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minimalist Expense Control App</title>
<link rel="stylesheet" href="styles.css">
<script src="scripts.js" defer></script>
</head>
<body>
<div class="page-wrapper">
<header>
<div class="container">
<h1>Minimalist Expense Control App</h1>
</div>
</header>
<main>
<article class="container">
<section>
<div>
<h2>Registration</h2>
<form class="exp-register-form">
<!-- Selecionar Tipo de Despesa -->
<label for="exp-type" class="exp-label">Expense type</label>
<select id="exp-type">
<option value="none">choose type</option>
<option value="Essential">Essential</option>
<option value="Healthcare">Healthcare</option>
<option value="Emergency">Emergency</option>
<option value="Extra">Extra</option>
</select>
<!-- Informar Custo de Despesa -->
<label for="exp-value" class="exp-label">Expense cost in $</label>
<input onkeydown="checkIfEnter(event)" id="exp-cost" type="text">
<!-- Informar Descrição de Despesa -->
<label for="exp-description" class="exp-label">Expense description</label>
<textarea id="exp-description" cols="30" rows="5"></textarea>
<!-- Botão de Registro -->
<button onclick="registerExpense(event)" class="exp-register-btn">Register</button>
</form>
</div>
</section>
<section>
<div>
<h2>View Expenses</h2>
<form action="">
<select id="filter-type">
<option value="none">show all</option>
<option value="Essential">Essential</option>
<option value="Healthcare">Healthcare</option>
<option value="Emergency">Emergency</option>
<option value="Extra">Extra</option>
</select>
<button onclick="filterExp()">Filter</button>
</form>
<div id="show-exp-div" class="show-expenses-container">
<!-- <div class="exp-div">
<div>
<div>Essential</div>
<div>$120,00</div>
</div>
<div>Rent</div>
</div> -->
</div>
</div>
</section>
<section>
<div>
<h2>Show Extract</h2>
<div id="exp-extract">
</div>
</div>
</section>
</article>
</main>
<footer>
<div class="container">
<h6>Developed by Yuzo Santana Okamoto @ github</h6>
</div>
</footer>
</div>
</body>
</html>