-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbst5.html
195 lines (191 loc) · 8.72 KB
/
bst5.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
193
194
195
<html>
<head>
<title>Task-5</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css">
<style>
.gr{
background-color: rgb(232, 233, 235);
padding-top: 10px;
padding-bottom: 10px;
}
.input-group-text{
margin-left: 10px;
}
.frm{
margin-top: 30px;
}
.lbl{
display: flex;
justify-content: center;
align-items: center;
}
.cust-width{
width: 10px;
}
</style>
</head>
<body>
<div class="gr container" style="width: 600px;">
<form class="frm needs-validation" novalidate>
<div class="row mb-4">
<div class="col-4 lbl">
First Name
</div>
<div class="col-8">
<div class="input-group">
<div class="input-group-text"><i class="fa fa-user" aria-hidden="true"></i></div>
<input type="text" class="form-control" placeholder="First Name" required>
<div class="invalid-feedback">
Please supply your First Name!
</div>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col-4 lbl">
Last Name
</div>
<div class="col-8">
<div class="input-group">
<div class="input-group-text"><i class="fa fa-user" aria-hidden="true"></i></div>
<input type="text" class="form-control" placeholder="Last Name" required>
<div class="invalid-feedback">
Please supply your Last Name!
</div>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col-4 lbl">
E-mail
</div>
<div class="col-8">
<div class="input-group">
<div class="input-group-text"><i class="fa fa-envelope" aria-hidden="true"></i></div>
<input type="text" class="form-control" placeholder="E-Mail Address" required>
<div class="invalid-feedback">
Please supply your Email!
</div>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col-4 lbl">
Phone #
</div>
<div class="col-8">
<div class="input-group">
<div class="input-group-text"><i class="fa fa-phone" aria-hidden="true"></i></div>
<input type="text" class="form-control" placeholder="(845)555-1212" required>
<div class="invalid-feedback">
Please supply your Phone Number!
</div>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col-4 lbl">
Address
</div>
<div class="col-8">
<div class="input-group">
<div class="input-group-text"><i class="fa fa-home" aria-hidden="true"></i></div>
<input type="text" class="form-control" placeholder="Address" required>
<div class="invalid-feedback">
Please supply your Address!
</div>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col-4 lbl">
City
</div>
<div class="col-8">
<div class="input-group">
<div class="input-group-text"><i class="fa fa-home" aria-hidden="true"></i></div>
<input type="text" class="form-control" placeholder="city" required>
<div class="invalid-feedback">
Please supply your City!
</div>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col-4 lbl">
State
</div>
<div class="col-8">
<div class="input-group">
<div class="input-group-text"><i class="fa fa-list" aria-hidden="true"></i></div>
<select class="form-select cust-width">
<option selected>Please select your State</option>
<option value="1">Andhra Pradesh</option>
<option value="2">Tamilnadu</option>
<option value="3">Delhi</option>
<option value="4">Kerala</option>
<option value="5">Rajasthan</option>
</select>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col-4">
Do you have hosting?
</div>
<div class="col-8">
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios1"
value="option1" checked>
<label class="form-check-label" for="exampleRadios1">
Yes
</label>
</div>
<div class="form-check">
<input class="form-check-input" type="radio" name="exampleRadios" id="exampleRadios2"
value="option2">
<label class="form-check-label" for="exampleRadios2">
No
</label>
</div>
</div>
</div>
<div class="row mb-4">
<div class="col-4 lbl">
Project Description
</div>
<div class="col-8">
<div class="input-group">
<div class="input-group-text"><i class="fa fa-pencil" aria-hidden="true"></i></div>
<textarea class="form-control" required placeholder="Project Description"></textarea>
<div class="invalid-feedback">
Please supply your Project Description!
</div>
</div>
</div>
</div>
<div class="d-flex justify-content-center">
<button type="submit" class="btn btn-warning text-white mt-2">
Send <i class="fa fa-paper-plane" aria-hidden="true bg-white"></i>
</button>
</div>
</form>
</div>
<script>
(() => {
'use strict'
const forms = document.querySelectorAll('.needs-validation')
Array.from(forms).forEach(form => {
form.addEventListener('submit', event => {
if (!form.checkValidity()) {
event.preventDefault()
event.stopPropagation()
}
form.classList.add('was-validated')
}, false)
})
})()
</script>
</body>
</html>