-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
304 lines (273 loc) · 12.3 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
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel = "stylesheet" href= "/css/styles.css">
<link rel="stylesheet" href="https://www.w3schools.com/w3css/4/w3.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<link rel="icon"
type="image/png"
href="images/green-love.png">
<title>Feeding Jabalpur</title>
</head>
<body>
<div class="bg-div">
<img class="logo-img" src="images/green-love.png" width="50" height="50" ALT="align box" ALIGN=CENTER>
<nav class="navbar">
<a href="#"><span class="logo">Feeding<span class="navbold">Jbp</span></span></a>
<ul class="nav-links">
<li><a href="#features">Home</a></li>
<li><a href="#gallery">About</a></li>
<li><a href="/post">Posts</a></li>
<li><a href="#footer-main">Contact</a></li>
<li><a href="user.html">Login/SignUp</a></li>
</ul>
</nav>
<div class="HomeBanner">
<h2>#IamFeedingJabalpur</h2>
<h6>When you donate food you don't just wipe out someone's hunger.You also donate smiles.</h6>
<!-- Button trigger modal -->
<button type="button" class="button" data-bs-toggle="modal" data-bs-target="#exampleModal">
DONATE NOW
</button>
</div>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Donate | Feeding Jabalpur</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<form method="post" action="//submit.form" onSubmit="return validateForm();">
<div style="max-width: 400px;"></div>
<div style="padding-bottom: 18px;font-size : 24px;">Feeding Jabalpur | Donation Box</div>
<div style="display: flex; padding-bottom: 18px;max-width : 550px;">
<div style=" margin-left: 0; margin-right: 1%; width: 49%;">First name<br/>
<input type="text" id="data_2" name="data_2" style="max-width: 100%;" class="form-control"/>
</div>
<div style=" margin-left: 1%; margin-right: 0; width: 49%;">Last name<br/>
<input type="text" id="data_3" name="data_3" style="max-width: 100%;" class="form-control"/>
</div>
</div>
<div style="padding-bottom: 18px;">Email<br/>
<input type="text" id="data_4" name="data_4" style="max-width : 550px;" class="form-control"/>
</div>
<div style="padding-bottom: 18px;">Donation Amount<span style="color: red;"> *</span><br/>
<span><input type="radio" id="data_5_0" name="data_5" value="$50"/> Rs.50</span><br/>
<span><input type="radio" id="data_5_1" name="data_5" value="$100"/> Rs.100</span><br/>
<span><input type="radio" id="data_5_2" name="data_5" value="$250"/> Rs.250</span><br/>
<span><input type="radio" id="data_5_3" name="data_5" value="$500"/> Rs.500</span><br/>
</div>
<div style="padding-bottom: 18px;">Full Address<br/>
<textarea id="data_6" false name="data_6" style="max-width : 550px;" rows="3" class="form-control"></textarea>
</div>
<center>
<div style="padding-bottom: 18px;"><input name="skip_Submit" class=" btn btn-primary"value="Submit" type="submit"/></div>
</center>
</form>
</div>
</div>
</div>
</div>
</div>
<div id="features">
<h1 class="heading">
<span>HOW</span>
<span>WE</span>
<span>WORK</span>
</h1>
<!--
<div class="head-info">
<p>strived for overall development of a child with special
needs focusing on personal,
physical, intellectual, social and vocational training .as well as parental counseling</p>
</div>
-->
<div class="wrapper">
<ul>
<li class="feature-1">
<h4>BECOME A VOLUNTEER</h4>
<p>“Volunteers do not necessarily have the time; they just have the heart.”
~Elizabeth Andrew</p>
<a href="#">LEARN MORE</a>
</li>
<li class="feature-2">
<h4>HAPPY GIVING</h4>
<p>We will come to your doorstep to pick up the donations in the chosen slot and deliver them to where they can be given a new life.</p>
<a href="#">LEARN MORE</a>
</li>
<li class="feature-3">
<h4>DONATION</h4>
<p>There are many ways to push for much-needed reforms: One way is to make a donation. It doesn't matter much whether you contribute publicly or in a private way - either way is good. What matters is your true intention.</p>
<a href="#">LEARN MORE</a>
</li>
<div class="clear"></div>
</ul>
</div>
</div>
<section class="gallery" id="gallery">
<h1 class="heading">
<span>G</span>
<span>A</span>
<span>L</span>
<span>L</span>
<span>E</span>
<span>R</span>
<span>Y</span>
</h1>
<div class="head-info">
<p>strived for overall development of a child with special
needs focusing on personal,
physical, intellectual, social and vocational training .as well as parental counseling</p>
</div>
</section>
<div class="slider">
<div class="slide">
<img src="/images/p1.jpg" class="slide-img" alt="">
<div class="info">
<h2>Family 1.0</h2>
<p>We battled cancer..</p>
</div>
</div>
<div class="slide">
<img src="images/p4.jpg" class="slide-img" alt="">
<div class="info">
<h2>Family 1.0</h2>
<p>We battled cancer..</p>
</div>
</div>
<div class="slide">
<img src="public/images/p2.jpg" class="slide-img" alt="">
<div class="info">
<h2>Family 1.0</h2>
<p>We battled cancer..</p>
</div>
</div>
<div class="slide">
<img src="images/p3.jpg" class="slide-img" alt="">
<div class="info">
<h2>Family 1.0</h2>
<p>We battled cancer..</p>
</div>
</div>
<button class="w3-button w3-display-left" onclick="plusDivs(-1)">❮</button>
<button class="w3-button w3-display-right" onclick="plusDivs(+1)">❯</button>
</div>
<!-- contact section starts -->
<section class="contact" id="contact">
<h1 class="heading">
<span>C</span>
<span>O</span>
<span>N</span>
<span>T</span>
<span>A</span>
<span>C</span>
<span>T</span>
</h1>
<div class="row">
<!--
<div class="image">
<img src="images/cotact.jpg" alt="">
</div>
-->
<form action="">
<div class="inputBox">
<input type="text" placeholder="what's your name ?">
<input type="email" placeholder="email address">
</div>
<div class="inputBox">
<input type="number" placeholder="mobile number">
<input type="text" placeholder="subject">
</div>
<textarea placeholder="Type your message here ..." name="" id="" cols="30" rows="10"></textarea>
<input type="submit" class="btn" value="send message">
</form>
</div>
</section>
<!-- contact section ends -->
<!-- brand section -->
<section class="brand-container">
<div class="swiper-container brand-slider">
<div class="swiper-wrapper">
<div class="swiper-slide"><img src="images/1.jpg" alt=""></div>
<div class="swiper-slide"><img src="images/2.jpg" alt=""></div>
<div class="swiper-slide"><img src="images/3.jpg" alt=""></div>
<div class="swiper-slide"><img src="images/4.jpg" alt=""></div>
<div class="swiper-slide"><img src="images/5.jpg" alt=""></div>
<div class="swiper-slide"><img src="images/6.jpg" alt=""></div>
</div>
</div>
</section>
<!-- contact section start -->
<footer>
<div class="footer-main" id="footer-main">
<div class="footer-about">
<h2>About</h2>
<p>Feeding Jabalpur is an initiative to support the poor people in slums residing in Jabalpur.Users can click photos of the slums near their residence & post it in the website's feed,the most relevant posts will get featured on our website.Users will have the option to donate for those slums hence contributing to a social-cause.</p>
<ul class="sci">
<li><a href="#"><i class="fa fa-facebook"></i></a></li>
<li><a href="#"><i class="fa fa-instagram"></i></a></li>
<li><a href="#"><i class="fa fa-twitter"></i></a></li>
<li><a href="#"><i class="fa fa-youtube"></i></a></li>
</ul>
</div>
<div class="quickLinks">
<h2>Quick Links</h2>
<ul>
<li><a href="#">Get Involved</a></li>
<li><a href="#">FAQs</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Help</a></li>
<li><a href="#">Terms & Conditions</a></li>
<li><a href="#">Contact</a></li>
</ul>
</div>
<div class="sec-contact">
<h2>Contact Info</h2>
<ul class="info">
<li>
<span><i class="fa fa-map-marker" aria-hidden="true"></i></span>
<span>645 , ABC Street <br>
phonelishd PA 19387,<br>India</span>
</li>
<li>
<span><i class="fa fa-phone" aria-hidden="true"></i></span>
<p><a href="#">+91 9234847984</a></p>
</li>
<li>
<span><i class="fa fa-envelope" aria-hidden="true"></i></span>
<p><a href="#">feedingjbp@gmail.com</a></p>
</li>
</ul>
</div>
</div>
</footer>
<div class="copyrightText">
<p>© 2021 Feeding Jabalpur . All rights reserved</p>
</div>
</body>
<script type="text/javascript">
function validateForm() {
if (!validateEmail(document.getElementById('data_4').value.trim())) {
alert('Email must be a valid email address!');
return false;
}
if (!document.getElementById('data_5_0').checked && !document.getElementById('data_5_1').checked && !document.getElementById('data_5_2').checked && !document.getElementById('data_5_3').checked ) {
alert('Donation Amount is required!');
return false;}
return true;
}
function isEmpty(str) { return (str.length === 0 || !str.trim()); }
function validateEmail(email) {
var re = /^([\w-]+(?:\.[\w-]+)*)@((?:[\w-]+\.)*\w[\w-]{0,66})\.([a-z]{2,15}(?:\.[a-z]{2})?)$/i;
return isEmpty(email) || re.test(email);
}
</script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js" integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>
<script src="script/script.js"></script>
</html>