-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdados.html
More file actions
87 lines (85 loc) · 3.01 KB
/
dados.html
File metadata and controls
87 lines (85 loc) · 3.01 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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta name="keywords" content="HTML, CSS, JavaScript">
<meta name="author" content="Ryan Pires">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="IMG/form-svgrepo-com.svg">
<link rel="stylesheet" href="CSS/bootstrap.min.css">
<link rel="stylesheet" href="CSS/style.css">
<link rel="stylesheet" href="CSS/dados.css">
<title>Salvamento concluído!</title>
</head>
<body>
<div class="container card form">
<h3 style="text-align: center;">Dados Enviados!</h3>
<table class="table">
<tr>
<td><p>Nome:</p></td>
<td><p id="nome"></p></td>
</tr>
<tr>
<td><p>Email:</p></td>
<td><p id="txt_email"></p></td>
</tr>
<tr>
<td><p>RG/CPF:</p></td>
<td><p id="RgCPF"></p></td>
</tr>
<tr>
<td><p>Carteira de Trabalho:</p></td>
<td><p id="carteira"></p></td>
</tr>
<tr>
<td><p>Telefone Celular:</p></td>
<td><p id="cel"></p></td>
</tr>
<tr>
<td><p>Gênero:</p></td>
<td><p id="sexo"></p></td>
</tr>
<tr>
<td><p>Data de Nascimento:</p></td>
<td><p id="dataNasc" onload="formataData()"></p></td>
</tr>
<tr>
<td><p>Escolaridade:</p></td>
<td><p id="escola"></p></td>
</tr>
<tr>
<td><p>Estado:</p></td>
<td><p id="estado"></p></td>
</tr>
<tr>
<td><p>CEP:</p></td>
<td><p id="cep"></p></td>
</tr>
<tr>
<td><p>Estado Civil:</p></td>
<td><p id="estadoCiv"></p></td>
</tr>
<tr>
<td><p>Tem filhos?</p></td>
<td><p id="filhos"></p></td>
</tr>
<tr>
<td><p>Situação de Trabalho:</p></td>
<td><p id="emprego"></p></td>
</tr>
<tr>
<td><p>Cobrança através do banco?</p></td>
<td><p id="banco"></p></td>
</tr>
</table>
</div>
<script src="JS/bootstrap.bundle.min.js"></script>
<script src="JS/dados.js"></script>
<script>
function formataData() {
const date = new Date('dataNasc');
console.log(date.toLocaleDateString('pt-BR'));
}
</script>
</body>
</html>