-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
44 lines (38 loc) · 1.54 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<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=Poppins:wght@400;700&display=swap" rel="stylesheet" />
<link rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,[email protected],100..700,0..1,-50..200" />
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="https://unpkg.com/imask"></script>
<script src="https://cdn.jsdelivr.net/npm/alasql@4"></script>
<script src="index.js"></script>
<link rel="stylesheet" href="styles.css" />
<title>Agenda de Contatos</title>
</head>
<body>
<h1>
Agenda de Contatos
<span class="material-symbols-outlined"> contacts </span>
</h1>
<form id="add-contact" onsubmit="addContactUI(event)">
<input type="text" id="name" name="name" placeholder="Nome" />
<span id="name-error" class="error"></span>
<input type="text" id="phone" name="phone" placeholder="Telefone" />
<span id="phone-error" class="error"></span>
<input type="text" id="email" name="email" placeholder="E-mail" />
<span id="email-error" class="error"></span>
<button type="submit">
Adicionar
<span class="material-symbols-outlined"> add </span>
</button>
</form>
<div id="divider"></div>
<ul id="contact-list"></ul>
</body>
</html>