-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathcalculadoraJurosCompostos.html
133 lines (118 loc) · 5.76 KB
/
calculadoraJurosCompostos.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
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
<!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>Goodpay</title>
<link rel="shortcut icon" href="./img/favicon.ico" type="image/x-icon">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<link rel="stylesheet" href="./css/styleCalculadoraJurosCompostos.css">
<link rel="stylesheet" href="./css/navbar-style.css">
</head>
<body>
<header>
<nav class="navbar navbar-expand-lg">
<div class="container-fluid">
<a class="navbar-brand" href="#">
<img src="../images/logo/GoodPayCompletaBranca.png" alt="">
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link" aria-current="page" href="#">Produtos</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Investimentos</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Analisar perfil</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Blog</a>
</li>
</ul>
</div>
</div>
<div class="pesquisa-box">
<div class="dropdown text-end me-4">
<a href="#" class="d-block link-dark text-decoration-none dropdown-toggle" data-bs-toggle="dropdown"
aria-expanded="false">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" fill="currentColor"
class="bi bi-person-circle" viewBox="0 0 16 16">
<path d="M11 6a3 3 0 1 1-6 0 3 3 0 0 1 6 0z" />
<path fill-rule="evenodd"
d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8zm8-7a7 7 0 0 0-5.468 11.37C3.242 11.226 4.805 10 8 10s4.757 1.225 5.468 2.37A7 7 0 0 0 8 1z" />
</svg>
</a>
<ul class="dropdown-menu text-small">
<li><a class="dropdown-item" href="#">Configurações</a></li>
<li><a class="dropdown-item" href="#">Perfil</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item" href="#">Sair</a></li>
</ul>
</div>
<input type="text" placeholder="Pesquise aqui..." class="form-control" id="pesquisa">
<label for="pesquisa">
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="currentColor" class="bi bi-search"
viewBox="0 0 16 16">
<path
d="M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z" />
</svg>
</label>
</div>
</nav>
</header>
<section class="container">
<form class="row g-3">
<div class="col-md-2">
<label for="periodo" class="form-label">Escolha a base de cálculo:</label>
<select name="periodo" id="periodo" class="form-select">
<option value="mensal">Mensal</option>
<option value="anual">Anual</option>
</select>
</select>
</div>
<div class="col-md-4">
<label for="vlr-inicial" class="form-label">Valor Inicial</label>
<input type="number" id="vlr-inicial" class="form-control" placeholder="Valor inicial"><br>
</div>
<div class="col-md-4">
<label for="vlr-mensal" class="form-label">Valor mensal</label>
<input type="number" id="vlr-mensal" class="form-control" placeholder="Valor mensal conforme base de cálculo"><br>
</div>
<div class="col-md-4">
<label for="tx-juros" class="form-label">Taxa de juros</label>
<input type="number" step=".01" id="tx-juros" class="form-control" placeholder="Taxa de juros conforme base de cálculo"><br>
</div>
<div class="col-md-4">
<label for="periodo-investimento" class="form-label">Período de Investimento</label>
<input type="number" id="periodo-investimento" class="form-control" placeholder="Período de investimento conforme base de cálculo"><br><br>
</div>
<div class="col-12">
<button type="submit" id="btn-calcular" class="btn btn-success" onclick="calculos()">Calcular</button><br><br>
</div>
<div class="col-md-2">
<label for="investimento-total" class="form-label">Investimento total</label>
<input type="number" id="investimento-total" class="form-control" placeholder="Investimento total">
</div>
<div class="col-md-2">
<label for="juros-total" class="form-label">Juros recebido total</label>
<input type="number" step=".01" id="juros-total" class="form-control" placeholder="Juros total">
</div>
<div class="col-md-2">
<label for="rendimento-total" class="form-label">Valor recebido final</label>
<input type="number" id="rendimento-total" class="form-control" placeholder="Rendimento total">
</div>
</form>
</section>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
<script src="./scripts/calculadoraJurosCompostos.js"></script>
</body>
</html>