-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathPreferences.html
More file actions
201 lines (195 loc) · 6.71 KB
/
Preferences.html
File metadata and controls
201 lines (195 loc) · 6.71 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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Preferences</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body>
<div class="container">
<div class="left-section"></div>
<div class="center-section">
<div class="header">
<h1>Preferences</h1>
<button class="done-button">Done</button>
</div>
<div class="buttonSection">
<form id="preferencesForm">
<div class="accordion">
<div class="accordion-item">
<h3>Pet Preference:</h3>
<div class="accordion-header" onclick="toggleAccordion(this)">
<span class="selection">Select</span>
<span class="arrow">▶</span>
</div>
<div class="accordion-content">
<label
><input
type="checkbox"
onclick="selectOption(this, 'Cats')"
/>
Cats</label
>
<label
><input
type="checkbox"
onclick="selectOption(this, 'Dogs')"
/>
Dogs</label
>
</div>
</div>
<div class="accordion-item">
<h3>Gender:</h3>
<div class="accordion-header" onclick="toggleAccordion(this)">
<span class="selection">Select</span>
<span class="arrow">▶</span>
</div>
<div class="accordion-content">
<label
><input
type="checkbox"
onclick="selectOption(this, 'Male')"
/>
Male</label
>
<label
><input
type="checkbox"
onclick="selectOption(this, 'Female')"
/>
Female</label
>
</div>
</div>
<div class="accordion-item">
<h3>Age:</h3>
<div class="accordion-header" onclick="toggleAccordion(this)">
<span class="selection">Select</span>
<span class="arrow">▶</span>
</div>
<div class="accordion-content">
<label
><input
type="checkbox"
onclick="selectOption(this, 'Baby (0-5 Months)')"
/>
Baby (0-5 Months)</label
>
<label
><input
type="checkbox"
onclick="selectOption(this, 'Puppy (5-24 Months)')"
/>
Puppy (5-24 Months)</label
>
<label
><input
type="checkbox"
onclick="selectOption(this, 'Youth (2-5 Years)')"
/>
Youth (2-5 Years)</label
>
<label
><input
type="checkbox"
onclick="selectOption(this, 'Adult (5-9 Years)')"
/>
Adult (5-9 Years)</label
>
<label
><input
type="checkbox"
onclick="selectOption(this, 'Senior (9+ Years)')"
/>
Senior (9+ Years)</label
>
</div>
</div>
<div class="accordion-item">
<h3>Good With Pets?:</h3>
<div class="accordion-header" onclick="toggleAccordion(this)">
<span class="selection">Select</span>
<span class="arrow">▶</span>
</div>
<div class="accordion-content">
<label
><input
type="checkbox"
onclick="selectOption(this, 'Big Dogs')"
/>
Big Dogs</label
>
<label
><input
type="checkbox"
onclick="selectOption(this, 'Small Dogs')"
/>
Small Dogs</label
>
<label
><input
type="checkbox"
onclick="selectOption(this, 'Cats')"
/>
Cats</label
>
</div>
</div>
<div class="accordion-item">
<h3>Good With Kids?:</h3>
<div class="accordion-header" onclick="toggleAccordion(this)">
<span class="selection">Select</span>
<span class="arrow">▶</span>
</div>
<div class="accordion-content">
<label
><input
type="checkbox"
onclick="selectOption(this, 'Kids Over 6')"
/>
Kids Over 6</label
>
<label
><input
type="checkbox"
onclick="selectOption(this, 'Kids Over 10')"
/>
Kids Over 10</label
>
</div>
</div>
<div class="accordion-item">
<h3>Special Needs:</h3>
<div class="accordion-header" onclick="toggleAccordion(this)">
<span class="selection">Select</span>
<span class="arrow">▶</span>
</div>
<div class="accordion-content">
<label
><input
type="checkbox"
onclick="selectOption(this, 'Yes')"
/>
Yes</label
>
<label
><input
type="checkbox"
onclick="selectOption(this, 'No')"
/>
No</label
>
</div>
</div>
</div>
<button type="submit">Save</button>
</form>
</div>
</div>
<div class="right-section"></div>
</div>
<script src="Preferences.js"></script>
</body>
</html>