-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
106 lines (93 loc) · 3.46 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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Sample Form | FED Patterns</title>
<meta name="viewport" content="width=device-width" />
<link rel="stylesheet" href="/_assets/css/normalize.css" />
<link rel="stylesheet" href="/_assets/css/base.css" />
<link rel="stylesheet" href="form.css">
</head>
<body>
<h1>Your Profile</h1>
<form action="#" method="get" class="adjacent">
<fieldset>
<dl class="group">
<dt><label for="name">Name</label></dt>
<dd><input name="name" id="name" type="text" placeholder="Tell us your name"></dd>
</dl>
</fieldset>
<fieldset>
<dl class="group">
<dt>
<label for="pswd">Password</label>
<span class="instruction">Passwords must be at least 8 characters long.</span>
</dt>
<dd><input name="pswd" id="pswd" type="password" placeholder="Choose a strong password"></dd>
</dl>
</fieldset>
<fieldset>
<dl class="group">
<dt>
<label for="description">Description</label>
<span class="instruction">This description will display on your profile.</span>
</dt>
<dd><textarea id="description" name="description" rows="5" cols="30" placeholder="Tell us a little something about yourself."></textarea></dd>
</dl>
</fieldset>
<fieldset>
<dl class="group">
<dt><span class="pseudo-label">Gender</span></dt>
<dd>
<ul>
<li class="container-radio"><input name="gender" id="gender-male" type="radio" value="male"> <label for="gender-male">Male</label></li>
<li class="container-radio"><input name="gender" id="gender-female" type="radio" value="female"> <label for="gender-female">Female</label></li>
</ul>
</dd>
</dl>
</fieldset>
<fieldset>
<dl class="group">
<dt><span class="pseudo-label">Favorite Colors</span></dt>
<dd>
<ul>
<li class="container-checkbox"><input name="color" id="color-red" type="checkbox" value="red"> <label for="color-red">Red</label></li>
<li class="container-checkbox"><input name="color" id="color-blue" type="checkbox" value="blue"> <label for="color-blue">Blue</label></li>
<li class="container-checkbox"><input name="color" id="color-green" type="checkbox" value="green"> <label for="color-green">Green</label></li>
<li class="container-checkbox"><input name="color" id="color-yellow" type="checkbox" value="yellow"> <label for="color-yellow">Yellow</label></li>
</ul>
</dd>
</dl>
</fieldset>
<fieldset>
<dl class="group">
<dt><label for="state-province">State or Province</label></dt>
<dd>
<select id="state-province" name="state-province">
<option value="--">Select a State or Province</option>
<optgroup label="Canada">
<option>Alberta</option>
<option>British Columbia</option>
<option>Quebec</option>
<option>Ontario</option>
<option>…</option>
</optgroup>
<optgroup label="United States">
<option>Alabama</option>
<option>Alaska</option>
<option>Arkansas</option>
<option>Arizona</option>
<option>…</option>
</optgroup>
</select>
</dd>
</dl>
</fieldset>
<div class="actions">
<input name="submit" id="submit" type="submit" value="Submit">
</div>
</form>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.10.1/jquery.min.js"></script>
<script src="form.js"></script>
</body>
</html>