This repository was archived by the owner on Jul 6, 2024. It is now read-only.
forked from mhaidarhanif/address-book
-
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
1 parent
e9c827e
commit 5c2172c
Showing
4 changed files
with
114 additions
and
51 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
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
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 |
---|---|---|
|
@@ -7,53 +7,69 @@ | |
<link rel="stylesheet" href="/index.css" /> | ||
</head> | ||
<body> | ||
<h1>Address Book</h1> | ||
<header> | ||
<h1>Address Book</h1> | ||
<nav> | ||
<ul> | ||
<li> | ||
<a href="/">Dashboard</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
</header> | ||
|
||
<form id="search-contacts" method="get"> | ||
<input | ||
id="search-input" | ||
type="text" | ||
name="q" | ||
placeholder="Enter keyword..." | ||
/> | ||
<button type="submit">Search</button> | ||
</form> | ||
|
||
<hr /> | ||
|
||
<form id="add-contact-form" method="post"> | ||
<div> | ||
<label for="full-name">Full name:</label> | ||
<main> | ||
<form id="search-contacts" method="get"> | ||
<input | ||
id="full-name" | ||
name="fullName" | ||
id="search-input" | ||
type="text" | ||
placeholder="Elon Musk" | ||
/> | ||
</div> | ||
<div> | ||
<label for="email">Email address:</label> | ||
<input | ||
id="email" | ||
name="email" | ||
type="email" | ||
placeholder="[email protected]" | ||
name="q" | ||
placeholder="Enter keyword..." | ||
/> | ||
</div> | ||
<div> | ||
<label for="phone">Phone number:</label> | ||
<input id="phone" name="phone" type="phone" placeholder="+1234567890" /> | ||
</div> | ||
<div> | ||
<label for="age">Age:</label> | ||
<input id="age" name="age" type="number" placeholder="30" /> | ||
</div> | ||
<button type="submit">Add Contact</button> | ||
</form> | ||
<button type="submit">Search</button> | ||
</form> | ||
|
||
<hr /> | ||
|
||
<form id="add-contact-form" method="post"> | ||
<div> | ||
<label for="full-name">Full name:</label> | ||
<input | ||
id="full-name" | ||
name="fullName" | ||
type="text" | ||
placeholder="Elon Musk" | ||
/> | ||
</div> | ||
<div> | ||
<label for="email">Email address:</label> | ||
<input | ||
id="email" | ||
name="email" | ||
type="email" | ||
placeholder="[email protected]" | ||
/> | ||
</div> | ||
<div> | ||
<label for="phone">Phone number:</label> | ||
<input | ||
id="phone" | ||
name="phone" | ||
type="phone" | ||
placeholder="+1234567890" | ||
/> | ||
</div> | ||
<div> | ||
<label for="age">Age:</label> | ||
<input id="age" name="age" type="number" placeholder="30" /> | ||
</div> | ||
<button type="submit">Add Contact</button> | ||
</form> | ||
|
||
<ul id="contacts-container"> | ||
<!-- Contacts Data --> | ||
</ul> | ||
<ul id="contacts-container"> | ||
<!-- Contacts Data --> | ||
</ul> | ||
</main> | ||
|
||
<script src="/storage.js"></script> | ||
<script src="/index.js"></script> | ||
|
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