-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathform3.html
151 lines (133 loc) · 4.42 KB
/
form3.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
body{
background-color: skyblue;
}
.center{
text-align: center;
}
h1{
font-family: Arial, Helvetica, sans-serif;
}
/* h1{
margin : auto;
align-content: center;
font-family: Arial, Helvetica, sans-serif;
} */
table{
background-color: white;
margin: auto;
padding: 7px;
/* background-color: red; */
/* max-width:auto; */
}
.left{
text-align: right;
padding-right: 15px;
padding-top: 8px;
padding-bottom: 8px;
}
.right{
text-align: left;
padding-left: 5px;
padding-top: 8px;
padding-bottom: 8px;
}
</style>
</head>
<body>
<div class="center">
<h1 >Survey Form</h1>
</div>
<table>
<tr>
<td colspan="2" style="text-align: center;" >let us know how we can improve freecodecamp</td>
</tr>
<tr>
<td class = 'left'><label for="name" >*Name : </label>
</td>
<td class = 'right'><input type="text" id='name' placeholder="Enter your name">
</td>
</tr>
<tr>
<td class = 'left'><label for="email" >* Email : </label>
</td>
<td class = 'right'>
<input type="text" id='email' placeholder="Enter your email">
</td>
</tr>
<tr>
<td class = 'left'><label for="age" >*Age : </label>
</td>
<td class = 'right'>
<input type="number" placeholder="Enter your age">
</td>
</tr>
<!-- <tr>
<td class = 'left'><label for="age" >* Age : </label>
</td>
<td class = 'right'>
<select>
<option value="student">student</option>
<option value="teacher">teacher</option>
<option value="parent">parent</option>
</select>
</td>
</tr> -->
<tr>
<td class = 'left'><label for="designation" class="left_side">Which option best describes you?</label>
</td>
<td class = 'right'>
<select>
<option value="student">student</option>
<option value="teacher">teacher</option>
<option value="parent">parent</option>
</select>
</td>
</tr>
<tr>
<td class='left'>
<p>*How likely will you recommend<br>freecodecamp to your friend?</p>
</td>
<td class='right'>
<input type="radio" name="radio_b1" id="radio_yes">
<label for="radio_yes">definitely</label><br>
<input type="radio" name="radio_b1" id="radio_maybe">
<label for="radio_maybe">maybe</label><br>
<input type="radio" name="radio_b1" id="radio_not_sure">
<label for="radio_not_sure">not sure</label>
</td>
</tr>
<tr>
<td class = 'left'><label for="likeness" >what do you like most in fcc?</label>
</td>
<td class = 'right'>
<select>
<option disabled selected value="">Select an option</option>
<option value="good">good</option>
<option value="better">better</option>
<option value="best">best</option>
</select>
</td>
</tr>
<tr>
<td class = 'left'><p > Things to improve in future..</p>
</td>
<td class = 'right'>
<br>
<input type="checkbox" name="ch1" id="ch1">
<label for="ch1">front-end-proj</label> <br>
<input type="checkbox" name="ch1" id="ch2">
<label for="ch2">back-end-proj</label> <br>
<input type="checkbox" name="ch1" id="ch3">
<label for="ch3">data visualisation</label> <br>
</td>
</tr>
</table>
</body>
</html>