-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (45 loc) · 1.07 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
<!doctype html>
<html>
<head>
<meta charset='utf-8'>
<title>JavaScript Object</title>
<link rel='stylesheet' type='text/css' href='style.css'>
<script src='build/object.js'></script>
</head>
<body>
<h1>JavaScript Address Object</h1>
<div class='address-form'>
<ul>
<li>
<label for='name'>Name: </label>
<input id='name' name='name' required type='text'>
</li>
<li>
<label for='firstLine'>Address Line 1: </label>
<input id='firstLine' name='firstLine' required type='text'>
</li>
<li>
<label for='secondLine'>Address Line 2: </label>
<input id='secondLine' name='secondLine' type='text'>
</li>
<li>
<label for='city'>City: </label>
<input id='city' name='city' required type='text'>
</li>
<li>
<label for='state'>State: </label>
<input id='state' name='state' required type='text'>
</li>
<li>
<label for='zip'>ZIP: </label>
<input id='zip' name='zip' required type='text'>
</li>
<li>
<button type='button' onClick='createAddress()'>Create Address</button>
</li>
</ul>
</div>
<div id='output'>
</div>
</body>
</html>