-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform.html
192 lines (164 loc) · 7.01 KB
/
form.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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Form Design</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<style>
.star-rating {
display: flex;
}
.star-rating input[type="radio"] {
display: none;
}
.star-rating label {
font-size: 30px;
color: gold;
cursor: pointer;
padding: 5px;
}
label{
font-weight: bold ;
padding-top: 10px;
}
.required:after {
content:" *";
color: red;
}
table.table-striped th {
width: 15%; /* Adjust this value as needed */
}
.tablecenter {
text-align: center;
}
</style>
</head>
<body>
<div class="container m-5">
<form action="#">
<div class="row g-3 ">
<label class="form-label required">Name </label>
<div class="col-3">
<input type="text" class="form-control">
<p>First</p>
</div>
<div class="col-3">
<input type="text" class="form-control">
<p>Last</p>
</div>
</div>
<div class="row">
<div class="col-6">
<label class="form-label required">Email </label>
<input type="email" class="form-control">
</div>
</div>
<div >
<label for="" class="form-label required">Your Experience </label>
<div class="star-rating">
<input type="radio" id="star1" name="rating" value="1" checked>
<label for="star1">★</label>
<input type="radio" id="star2" name="rating" value="2" checked>
<label for="star2">★</label>
<input type="radio" id="star3" name="rating" value="3" checked>
<label for="star3">★</label>
<input type="radio" id="star4" name="rating" value="4" checked>
<label for="star4">★</label>
<input type="radio" id="star5" name="rating" value="5" checked>
<label for="star5">★</label>
</div>
</div>
<p>Overall, how would you rate you experience with us?</p>
<label class="required">How satisfied are you with </label>
<table class="table table-striped">
<thead>
<tr>
<th scope="col"> </th>
<th class="tablecenter">Very Unsatisfied</th>
<th class="tablecenter"> Unsatisfed</th>
<th class="tablecenter"> Normal </th>
<th class="tablecenter">satisfied</th>
<th class="tablecenter"> Very satisfied</th>
</tr>
</thead>
<tr>
<th >Purchase</th>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
</tr>
<tr>
<th>Service</th>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
</tr>
<tr>
<th>Company Overall</th>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
</tr>
</table>
<label class="required">How likely are you to </label>
<table class="table table-striped">
<thead>
<tr>
<th scope="col"> </th>
<th class="tablecenter">Very Unlikely </th>
<th class="tablecenter"> Unlikely </th>
<th class="tablecenter"> Normal </th>
<th class="tablecenter">likely </th>
<th class="tablecenter"> Very likely </th>
</tr>
</thead>
<tr>
<th >Buy from us again</th>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
</tr>
<tr>
<th >Recommend our<br> product to others</th>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
</tr>
<tr>
<th>Recommend our<br> company to otherrs</th>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
<td class="tablecenter"><input type="radio" name="" id=""></td>
</tr>
</table>
<div class="row ">
<label class="form-label">Additional comments or suggestions</label>
<div class="col-12">
<textarea class="textarea form-control p-5"> </textarea>
</div>
</div>
<input type="submit" value="Submit" class="mt-4 p-3">
</form>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-C6RzsynM9kWDrMNeT87bh95OGNyZPhcTNXj1NW7RuBCsyN/o0jlpcV8Qyq46cDfL"
crossorigin="anonymous"></script>
</body>
</html>