-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
102 lines (100 loc) · 2.94 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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="pt-br">
<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>Trabalho Prático - Mod 04 / IGTI</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<section id="simulacao" class="simulacao">
<h1>Simulação de Financiamento</h1>
<div class="simulacaoFlex">
<div>
<p>Valor :</p>
<input id="simulacaoValor" type="number" />
</div>
<div>
<p>Prazo (anos) :</p>
<input id="simulacaoPrazo" type="number" />
</div>
<div>
<p>Juros ao ano :</p>
<input id="simulacaoJuros" type="number" />
</div>
</div>
<div class="simulacaobtn">
<button onclick="simular()" class="btn">Simular</button>
</div>
</section>
<section id="resultado" class="resultado">
<h1>Resultado</h1>
<div class="resultadoFlex">
<div>
<p>Prazo (meses) :</p>
<p id="resultadoPrazo" class="resultadoCampo"></p>
</div>
<div>
<p>Juros ao mês :</p>
<p id="resultadoJuros" class="resultadoCampo"></p>
</div>
<div>
<p>Juros acumulados :</p>
<p id="resultadoJurosAcumulados" class="resultadoCampo"></p>
</div>
</div>
</section>
<section class="tabela">
<table cellspacing="30">
<thead>
<tr class="tabelatitulo">
<th><h1>Prestação</h1></th>
<th><h1>Amortização</h1></th>
<th><h1>Juros</h1></th>
<th><h1>Total</h1></th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td id="parcela1"></td>
<td id="jurosParcela1"></td>
<td id="totalParcela1"></td>
</tr>
<tr>
<td>2</td>
<td id="parcela2"></td>
<td id="jurosParcela2"></td>
<td id="totalParcela2"></td>
</tr>
<tr>
<td>3</td>
<td id="parcela3"></td>
<td id="jurosParcela3"></td>
<td id="totalParcela3"></td>
</tr>
<tr>
<td>4</td>
<td id="parcela4"></td>
<td id="jurosParcela4"></td>
<td id="totalParcela4"></td>
</tr>
<tr>
<td>5</td>
<td id="parcela5"></td>
<td id="jurosParcela5"></td>
<td id="totalParcela5"></td>
</tr>
<tr>
<td>6</td>
<td id="parcela6"></td>
<td id="jurosParcela6"></td>
<td id="totalParcela6"></td>
</tr>
</tbody>
</table>
</section>
<script src="./js/script.js"></script>
</body>
</html>