-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
49 lines (49 loc) · 1.55 KB
/
index.html
File metadata and controls
49 lines (49 loc) · 1.55 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 lang="en">
<head>
<link href="css/bootstrap.css" rel="stylesheet" type="text/css" media="all">
<link href="css/styles.css" rel="stylesheet" type="text/css">
<script src="js/jquery-3.5.1.js"></script>
<script src="js/scripts.js"></script>
<title>Address Book</title>
</head>
<body>
<div class="container">
<h1>Address Book</h1>
<div class="row">
<div class="col-md-6">
<hr>
<h2>Add a Contact:</h2>
<form id="new-contact">
<div class="form-group">
<label for="new-first-name">First Name</label>
<input type="text" class="form-control" id="new-first-name">
</div>
<div class="form-group">
<label for="new-last-name">Last Name</label>
<input type="text" class="form-control" id="new-last-name">
</div>
<div class="form-group">
<label for="new-phone-number">Phone Number</label>
<input type="text" class="form-control" id="new-phone-number">
</div>
<button type="submit" class="btn-primary">Add</button>
</form>
<hr>
<h2>Contacts:</h2>
<ul id="contacts">
</ul>
</div>
<div class="col-md-6">
<div id="show-contact">
<p>First Name: <span class="first-name"></span></p>
<p>Last Name: <span class="last-name"></span></p>
<p>Phone Number: <span class="phone-number"></span></p>
<div id="buttons">
</div>
</div>
</div>
</div>
</div>
</body>
</html>