-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link href="css/bootstrap.css" rel="stylesheet" type="text/css"> | ||
<link href="css/styles.css" rel="stylesheet" type="text/css"> | ||
<script src="js/jquery-1.12.0.js"></script> | ||
<script src="js/scripts.js"></script> | ||
<title>My Addressbook</title> | ||
</head> | ||
<body> | ||
<div class="container"> | ||
<h1>Address book</h1> | ||
|
||
<div class="row"> | ||
|
||
<div class="col-md-6"> | ||
<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 id="new-addresses"> | ||
<div class="new-address"> | ||
<div class="form-group"> | ||
<label for="new-street">Street</label> | ||
<input type="text" class="form-control new-street"> | ||
</div> | ||
<div class="form-group"> | ||
<label for="new-city">City</label> | ||
<input type="text" class="form-control new-city"> | ||
</div> | ||
<div class="form-group"> | ||
<label for="new-state">State</label> | ||
<input type="text" class="form-control new-state"> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<span class="btn btn-primary" id="add-address">Another address</span> | ||
|
||
<button type="submit" class="btn">Add</button> | ||
</form> | ||
|
||
<h2>Contacts:</h2> | ||
<ul id="contacts"> | ||
|
||
</ul> | ||
</div> | ||
|
||
<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>Addresses:</p> | ||
<ul id="addresses"> | ||
|
||
</ul> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
</div> | ||
</body> | ||
</html> |