-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
169 lines (167 loc) · 4.7 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="style.css" />
<title>Product Survey Form</title>
</head>
<body>
<header>
<h1 id="title">Product Survey Form</h1>
<p id="description">
Lorem ipsum, dolor sit amet consectetur adipisicing elit. Quod ducimus
exercitationem nihil sed delectus sequi!
</p>
</header>
<section>
<form action="#" id="survey-form">
<label for="name" id="name-label">Name</label>
<input
type="text"
name="name"
id="name"
placeholder="John Doe"
required
/>
<label for="dropdown">Sex</label>
<select name="dropdown" id="dropdown">
<option value="male">Male</option>
<option value="female">Female</option>
<option value="other">Other</option>
</select>
<label for="email" id="email-label">Email</label>
<input
type="email"
name="email"
id="email"
placeholder="johndoe@email.com"
required
/>
<label for="number" id="number-label"
>How many times have you used or product?</label
>
<input
type="number"
name="number"
id="number"
min="0"
max="25"
placeholder="0"
/>
<table id="quality">
<tr>
<th colspan="4">
<label for="quality">What would you say about our product?</label>
</th>
</tr>
<tr>
<th>
<label for="user-friendly" class="checkbox">User-friendly</label>
</th>
<th>
<label for="intuitive" class="checkbox">Intuitive</label>
</th>
<th>
<label for="maintainable" class="checkbox">Maintainable</label>
</th>
<th>
<label for="reliable" class="checkbox">Reliable</label>
</th>
</tr>
<tr>
<td>
<input
type="checkbox"
name="user-friendly"
value="user-friendly"
id="quality1"
/>
</td>
<td>
<input
type="checkbox"
name="intuitive"
value="intuitive"
id="quality2"
/>
</td>
<td>
<input
type="checkbox"
name="maintainable"
value="maintainable"
id="quality3"
/>
</td>
<td>
<input
type="checkbox"
name="reliable"
value="reliable"
id="quality4"
/>
</td>
</tr>
</table>
<table>
<tr>
<th colspan="4">
<label for="satisfaction">How satisfied are you?</label>
</th>
</tr>
<tr>
<th>
<label for="very" class="sat-label">Very satisfied</label>
</th>
<th>
<label for="satisfied" class="sat-label">Satisfied</label>
</th>
<th>
<label for="notsat" class="sat-label">Not satisfied</label>
</th>
<th>
<label for="disap" class="sat-label">Disappointed</label>
</th>
</tr>
<tr>
<td>
<input type="radio" name="satisfaction" id="very" value="very" />
</td>
<td>
<input
type="radio"
name="satisfaction"
id="satisfied"
value="satisfied"
/>
</td>
<td>
<input
type="radio"
name="satisfaction"
id="notsat"
value="notsat"
/>
</td>
<td>
<input
type="radio"
name="satisfaction"
id="disap"
value="disap"
/>
</td>
</tr>
</table>
<label for="opinion"
>Tell us something about your shopping experiences to buy our
product:</label
>
<textarea name="opinion" id="opinion" cols="30" rows="10"></textarea>
<input type="submit" value="Submit" id="submit" />
</form>
</section>
<!-- <script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script> -->
</body>
</html>