-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathaddContact.html
More file actions
86 lines (86 loc) · 2.59 KB
/
addContact.html
File metadata and controls
86 lines (86 loc) · 2.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
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
<!DOCTYPE html>
<html>
<!-- TODO: write corresponding js -->
<head>
<meta charset="UTF-8" />
<link rel="stylesheet" href="/css/styles.css" />
<script type="text/javascript" src="/js/code.js" defer></script>
<script type="text/javascript" src="/js/addContact.js" defer></script>
<title>Add Contact</title>
</head>
<body>
<div class="centerdiv">
<div class="container" id="add-contact-form">
<h1>Add Contact</h1>
<form id="add-contact-form">
<div class="box">
<div class="add-contact-section">
<label for="firstName">First Name:</label>
<input
type="text"
id="firstName"
name="firstName"
placeholder="John"
/>
</div>
<div class="add-contact-section">
<label for="lastName">Last Name:</label>
<input
type="text"
id="lastName"
name="lastName"
placeholder="Smith"
/>
</div>
</div>
<div class="box">
<div class="add-contact-section">
<label for="email">Email:</label>
<input
type="email"
id="email"
name="email"
placeholder="myname@example.com"
/>
</div>
<div class="add-contact-section">
<label for="phone">Phone Number:</label>
<input
type="tel"
id="phone"
name="phone"
placeholder="(xxx) xxx-xxxx"
/>
</div>
</div>
<div class="box">
<div class="add-contact-section">
<label for="skill">Skill:</label>
<input
type="text"
id="skill"
name="skill"
placeholder="Full Stack Developer"
/>
</div>
<div class="add-contact-section">
<label for="projectLink">Project Link:</label>
<input
type="text"
id="projectLink"
name="projectLink"
placeholder="www.github.com/..."
/>
</div>
</div>
<input id="add-contact" type="submit" value="Add Contact" />
<br />
<input type="button" value="Contact Manager" />
<span id="error"></span>
<span id="success"></span>
</form>
<br />
</div>
</div>
</body>
</html>