-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (39 loc) · 1.48 KB
/
Copy pathindex.html
File metadata and controls
49 lines (39 loc) · 1.48 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Validação de LOGIN</title>
<link rel="stylesheet" href="style.css">
<script src="https://kit.fontawesome.com/c4254e24a8.js" crossorigin="anonymous"></script>
</head>
<body>
<div class="container">
<form>
<i class="fas fa-paper-plane"></i>
<div class="input-group">
<label>Nome Completo</label>
<input type="text" placeholder="Coloque seu nome" id="contact-name" onkeyup="validateName()">
<span id="name-error"></span>
</div>
<div class="input-group">
<label>Numero</label>
<input type="tel" placeholder="(xx) xxxxx-xxxx" id="contact-phone" onkeyup="validatePhone()">
<span id="phone-error"></span>
</div>
<div class="input-group">
<label>Email </label>
<input type="email" placeholder="Coloque Email" id="contact-email" onkeyup="validateEmail()">
<span id="email-error"></span>
</div>
<div class="input-group">
<label>Sua Mensagem</label>
<textarea rows="5" placeholder="Coloque sua Mensagem" id="contact-message" onkeyup="validateMessage()"></textarea>
<span id="message-error"></span>
</div>
<button onclick="return validateForm()">ENVIAR</button>
<span id="submit-error"></span>
</form>
</div>
<script src="script.js"></script>
</body>
</html>