/
index.html
88 lines (70 loc) · 2.52 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
<!DOCTYPE HTML>
<html>
<head>
<link rel="stylesheet" href="bootstrap.min.css">
<link rel="stylesheet" href="styles.css">
<script src="jquery-2.1.4.min.js"></script>
<script src="jquery.js"></script>
<title>
Address Book and To Do List
</title>
</head>
<body>
<div class="container">
<!-- ROW ONE-->
<div class="row">
<!--Contacts-->
<div class="col-md-6">
<h1>Address Book</h1>
<h2>Add a contact:</h2>
<form id="new-contact">
<div class="form-group">
<label for="new-first-name">First name</lable>
<input type="text" class="form-control" id="new-first-name">
</div>
<div class="form-group">
<label for="new-last-name">Last name</lable>
<input type="text" class="form-control" id="new-last-name">
</div>
<div class="form-group">
<label for="new-address">Address</lable>
<input type="text" class="form-control" id="new-address">
</div>
<button type="submit" class="btn">Add</button>
</form> <!--Contacts-->
<h2>Contacts:</h2>
<ul id="contacts">
</ul>
</div> <!--To Do List-->
<!--To Do List-->
<div class="col-md-6">
<h1>Honey Do List</h1>
<h2>Add an activity:</h2>
<form id="newActivity">
<div class="form-group well">
<label for="title">Title:</label>
<input id="title" type="text" placeholder="enter activity name"></input>
<label for="activity">Description:</label>
<input id="activity" type="text" placeholder="enter task details"></input>
<input type="submit" class="btn btn-primary addActivity" value="Add"></input>
<!--<input id="activity" type="button" class="btn btn-primary removeActivity" value="Remove"></input>-->
<h3>To Do List:</h3>
<ul id="activityList" class="checkbox">
</ul>
</div>
</div> <!--To Do List-->
</div> <!--end row1 -->
<!-- ROW TWO --> <!--Show Contacts-->
<div class='row'>
<div class="col-md-6">
<div id="show-contact">
<h2></h2>
<p>First name: <span class="first-name"></span></p>
<p>Last name: <span class="last-name"></span></p>
<p>Address: <span class="address"></span></p>
</div>
</div>
</div>
</div>
</body>
<html>