-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
51 lines (43 loc) · 1.68 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Address Book</title>
<link rel="stylesheet" href="css/style.css" />
</head>
<body>
<header>
<h1>Address Book</h1>
</header>
<!-- Add address form -->
<button type="button" id="quickAddBtn">Add Contact</button>
<div id="addContactDiv" class="hidden">
<form id="addContactForm">
<p>
<label for="fullName" class="hidden">Name</label>
<input type="text" name="fullName" id="fullName" placeholder="Name" required />
</p>
<p>
<label for="mobileNo"class="hidden">Mobile No</label>
<input type="number" name="mobileNo" id="mobileNo" placeholder="Mobile No" required />
</p>
<p>
<label for="homeNo" class="hidden">Home No</label>
<input type="number" name="homeNo" id="homeNo" placeholder="Home No" required />
</p>
<p>
<label for="email" class="hidden">Email Address</label>
<input type="email" name="email" id="email" placeholder="Email Address" required />
</p>
<button type="submit" name="add" id="addBtn">Add</button>
<button type="reset" name="cancelBtn" id="cancelBtn">Cancel</button>
</form>
</div>
<div id="address-lists">
</div>
<script defer src="https://use.fontawesome.com/releases/v5.0.10/js/all.js" integrity="sha384-slN8GvtUJGnv6ca26v8EzVaR9DC58QEwsIk9q1QXdCU8Yu8ck/tL/5szYlBbqmS+" crossorigin="anonymous"></script>
<script src="js/main.js"></script>
</body>
</html>