-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
89 lines (89 loc) · 3.59 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
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
<!DOCTYPE html>
<html lang="pt-br">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>DSViaCEP</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=Righteous&family=Sarala:wght@400;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<header class="nav__container">
<nav class="nav__main">
<h1>DSViaCEP</h1>
<div class="contact__link">Contato</div>
</nav>
</header>
<main>
<section id="form__section" class="form__container">
<div class="card__form">
<form name="newAddress">
<div class="form__control">
<label for="cep">CEP:</label>
<input
name="cep"
id="cep"
class="form__input"
type="text"
placeholder="CEP">
<div class="erro__message" data-error="cep"></div>
</div>
<div class="form__control">
<label for="street">Logradouro:</label>
<input
name="street"
id="street"
class="form__input"
type="text"
placeholder="Logradouro"
disabled>
</div>
<div class="form__control">
<label for="number">Número:</label>
<input
name="number"
id="number"
class="form__input"
type="text"
placeholder="Número">
<div class="erro__message" data-error="number"></div>
</div>
<div class="form__control">
<label for="city">Cidade:</label>
<input
name="city"
id="city"
class="form__input"
type="text"
placeholder="Cidade"
disabled>
</div>
<div class="btn__container">
<button name="btnSave" class="btn btn__left" type="submit">Salvar</button>
<button name="btnClear" class="btn btn__right">Limpar</button>
</div>
</form>
</div>
</section>
<section id="list__section" class="list__container">
<!-- <div class="card__list__item">
<h3>Sao Paulo</h3>
<p class="address__line">Rua dos jardins, 720</p>
<p class="address__cep">11200-345</p>
</div> -->
</section>
</main>
<section id="modal__contact" class="modal__container">
<div class="modal__box">
<div class="modal__content">
<p>@guzmandp.ig</p>
</div>
<button id="btn__modal__contact__close" class="btn">Fechar</button>
</div>
</section>
<script type="module" src="/js/dsviacep.js"></script>
</body>
</html>