-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (51 loc) · 1.92 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simulador Cartão de Crédito</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=EB+Garamond&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
</head>
<body>
<header>
<img src="./assets/cred_card.png" alt="Cartão de crédito">
<h1>Simulador de Cartão de Crédito Rotativo</h1>
</header>
<form id="entradas" action="#">
<!--Inputs:-->
<div>
<label for="">Fatura(R$):</label>
<input id="cx-fatura" type="number" step="0.01" placeholder="Valor">
</div>
<div>
<label for="">Valor Plano1: </label>
<input id="cx-pago-p1" type="number" step="0.01" placeholder="Acima de 20% da fatura">
</div>
<div>
<label for="">Meses de Atraso:</label>
<input id="cx-meses1" type="number" placeholder="1-12">
</div>
<div>
<label for="">Valor Plano2:</label>
<input id="cx-pago-p2" type="number" step="0.01" placeholder="Acima de 20% da fatura">
</div>
<div>
<label for="">Meses de Atraso:</label>
<input id="cx-meses2" type="number" placeholder="1-12">
</div>
<div id="botoes">
<input id="btn-calcular" onclick="calcular_planos()" type="submit" value="Calcular Planos">
<input type="reset" value="Limpar Dados">
</div>
<div>
<h3>
Created by: <a href="https://github.com/amandasantos312">Amanda Santos</a>
</h3>
</div>
</form>
<script src="./script.js"></script>
</body>
</html>