-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcreate-point.html
More file actions
102 lines (67 loc) · 2.37 KB
/
create-point.html
File metadata and controls
102 lines (67 loc) · 2.37 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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
<!DOCTYPE html>
<html lang="pt_br">
<!--
html
hypertext
hiper texto
markup
marcação de texto
language
linguagem
-->
<head>
<title> Perfect Study-cadastro</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link href="https://fonts.googleapis.com/css2?family=Roboto&Ubuntu:wght@700display=swap" rel="stylesheet">
<link rel="stylesheet" href="/styles/create-point.css">
<script type="text/javascript">
function validar() {
var nome =formuser.nome.value;
var email =formuser.email.value;
var senha =formuser.senha.value;
if (nome == "") {
alert('preencha o campo nome.') ;
formuser.nome.focus() ;
return false;
}
if (email == "") {
alert('preencha o campo E-mail.') ;
formuser.email.focus() ;
return false;
}
if (senha == "" || senha.length <5) {
alert('preencha o campo senha com minimo de 6 caracteres.') ;
formuser.senha.focus() ;
return false;
}
}
</script>
</head>
<body>
<div id="page-home">
<div class="content">
<header>
<img src="/assets/Logo.png" alt="logomarca">
<a href="http://127.0.0.1:5500/index.html">
<span></span>
voltar
</a>
</header>
<main>
<h1 >Cadastre-se</h1>
<form name="formuser" action="enviar.php" method="post">
Nome:<input type="text" name="nome" ><br><br>
E-mail:<input type="email" name="email" ><br><br>
senha:<input type="password" name="senha" ><br><br>
<small id="emailHelp" class="form-text text-muted">(We'll never share your email with anyone else.)</small>
<input type="submit" onclick="return validar()">
</form>
<p></p>
<a href="#">
<a href="http://127.0.0.1:5500/create-point.html">
</main>
</div>
</div>
</body>
</html>