"Natália-Exercício2"
Bootstrap 4.1.1 Snippet by psd06t

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
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<link href="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css">
<script src="//maxcdn.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<!------ Include the above in your HEAD tag ---------->
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<title>PSD-06t-Seu Nome</title>
<meta name='viewport' content='width=device-width, initial-scale=1'>
<link rel='stylesheet' type='text/css' media='screen' href='main.css'>
<script src='main.js'></script>
</head>
<body>
<div class="container-fluid">
<h1>Dados da Empresa</h1>
<p>Cadastro de Informações</p>
<div>
<!--empresa-->
<form>
<div class="was-validated">
<label for="Nome da Empresa">Nome da Empresa:</label>
<input type="Nome da Empresa" class="form-control" placeholder="Informe o nome da Empresa" id="empresanome">
</div>
<div class="was-validated">
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
1
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
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
var empresanome=nada,empresaemail=nada,empresaend=nada,empresatel,consumidornome,consumidorend,consumidortel
function cadEmpresa() {
var nome = document.ElementById ("empresanome").value;
empresanome = nome
var email = document.ElementById ("empresaemail").value;
empresaemail = Email
var end = document.ElementById ("empresaend").value;
empresaend = end
}
function cadEmpresa() {
var tel = document.ElementById ("empresatel").value;
empresatel = tel
var nome = document.ElementById("usuarionome").value;
usuarionome = nome
var cpf = document.ElementById("usuariocpf").value;
usuariocpf = cpf
}
function cadUsuario() {
var email = document.ElementById("usuarioemail").value;
usuarioemail = Email
var tel = document.ElementById("usuariotel").value;
usuariotel = tel
var end = document.ElementById("usuarioend").value;
usuarioend = end
}
function cadProduto() {
var produto = document.ElementById("produto").value;
produto = produto
}
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Related: See More


Questions / Comments: