-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
55 lines (45 loc) · 1.59 KB
/
index.html
File metadata and controls
55 lines (45 loc) · 1.59 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Address Book</title>
<link rel ="stylesheet" href="styles.css">
</head>
<body>
<h1> ☎️ ADDRESS BOOK ☎️</h1>
<section class="container">
<section class = "Add-Contact">
<aside>
<h2>Create New Contact 📞</h2>
<form>
<label for="name"> Full Name: </label><br>
<input type="text" id="name" name="fullName" required><br><br>
<label for="phone">Phone Number:</label><br>
<input type="number" id="phone" name="phoneNumber" required><br><br>
<label for="email">E-mail Address:</label><br>
<input type="email" id="email" name="email" required><br><br>
<label for="address">Address:</label><br>
<textarea type="address" id="address" name="address" rows="3" ></textarea><br><br>
<button type="button"class="btn-add" onclick="createContact()">Save Contact</button>
<p id="">
Saved Contacts:<strong id ="contactCount">0</strong>
</p>
</form>
</aside>
</section>
<section class="contactList" id="contactDisplay">
<div >
<h2>Saved Contacts</h2>
<p>
List of contacts will appear here.
</p>
</div>
</section>
</section>
<footer>
<p>© 2026 Sharon Moegi. All rights reserved.</p>
</footer>
<script src="script.js"></script>
</body>
</html>