-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
241 lines (221 loc) · 7.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>CYBERSECURITY GAME</title>
<link rel="stylesheet" href="style.css" />
<link
href="https://unpkg.com/[email protected]/css/boxicons.min.css"
rel="stylesheet"
/>
</head>
<body>
<header>
<a href="#" class="logo">CLIMATE DISASTER MANAGEMENT</a>
<ul class="nav">
<li><a href="#home">HOME</a></li>
<li><a href="#about">ABOUT</a></li>
<li><a href="#disaster ">DISASTER</a></li>
<li><a href="#admin">ADMIN</a></li>
li><a href="#help">HELP</a></li>
<li><a href="#contact">CONTACT</a></li>
</ul>
<div class="action">
<div class="searchBx">
<a href="#"><i class="bx bx-search"></i></a>
<input type="text" placeholder="Search..." />
</div>
</div>
<div class="togglemenu" onclick="toggleMenu()"></div>
</header>
#home banner
<div class="banner" id="home">
<div class="bg">
<div class="content">
<h2>
Climate change is no longer a threat <br />
it's a reality.
</h2>
<p>
Climate change is the greatest threat to our existence in our short
history on this planet. Nobody's going to buy their way out of its
effects.
</p>
<a href="#" class="btn">Join now</a>
</div>
<img src="images/background.jpg" />
</div>
</div>
#about
<div class="ABOUT" id="about">
<div class="contentBx">
<h2>About Us</h2>
<p>
Welcome to DisasterWatch, a cutting-edge web application dedicated to
providing real-time information on disasters worldwide. Our mission is
to empower individuals and communities with timely and accurate data,
fostering a proactive approach to disaster preparedness and response.
</p>
<p>
Our Vision: At DisasterWatch, we envision a world where everyone has
the tools and knowledge to navigate and respond effectively to natural
and man-made disasters. By leveraging technology, we aim to be a
catalyst for positive change, reducing the impact of disasters on
communities globally.
</p>
<p>
What We Offer:<br />
Real-Time Information: We pull data from authoritative sources,
ensuring that you receive the latest information on earthquakes,
floods, wildfires, and other disasters as they unfold.
<br />
User-Friendly Interface: Our user interface is designed with
simplicity in mind. Navigate with ease, whether you're accessing our
platform on a desktop, tablet, or smartphone.
<br />
Interactive Maps: Explore disaster-affected areas, evacuation routes,
and emergency shelters through our dynamic maps, providing a
comprehensive visual overview.
<br />
Alerts and Notifications: Stay informed with our customizable alert
system. Receive notifications tailored to your location and
preferences, keeping you updated on potential threats and safety
measures.
</p>
<a href="#">Read more</a>
</div>
<img src="images/about.jpg" />
</div>
<div class="disaster" id="levels">
<h2>DISASTER</h2>
<ul>
<li class="list">Earthquake</li>
<li class="list">Lanslide</li>
<li class="list">Tsunami</li>
</ul>
<div class="cardBx">
<div class="card" data-item="pc">
<p align="center"></p>
<a
href="file:///C:/Users/POOJA/Desktop/phase%201/final%20website%20of%20cybersecurity/quiz.html"
>
<img src="images/drought.jpg"
/></a>
<div class="content">
<h4>Drought</h4>
<div class="progress-line"><span></span></div>
<div class="info">
<a href="">Search</a>
</div>
</div>
</div>
<div class="card" data-item="pc">
<img src="images/landlside.jpg" />
<div class="content">
<h4>Lanslide</h4>
<div class="progress-line"><span></span></div>
<div class="info">
<a href="#">Search</a>
</div>
</div>
</div>
<div class="card" data-item="pc">
<img src="images/earthquake.jpg" />
<div class="content">
<h4>Earthquake</h4>
<div class="progress-line"><span></span></div>
<div class="info">
<a href="#">Search</a>
</div>
</div>
</div>
</div>
</div>
<div class="help" id="admin">
<a href="./admin.html" class="btn">HELP</a>
</div>
</div>
</div>
<div class="user" id="updates">
<a href="./user.html" class="btn">Update</a>
</div>
</div>
</div>
<div class="contact" id="contact">
<img src="images/contact us.jpg" />
<div class="form">
<h1>Contact Us</h1>
<div class="inputBx">
<p>Enter Name</p>
<input type="text" placeholder="Full Name" />
</div>
<div class="inputBx">
<p>Enter Email</p>
<input type="text" placeholder="Full Name" />
</div>
<div class="inputBx">
<p>Message</p>
<textarea placeholder="Type here......"></textarea>
</div>
<div class="inputBx">
<input type="submit" name="Submit" />
</div>
</div>
</div>
<footer>
<div class="info">
<a href="#" class="logo">climate disaster</a>
<p><i class="bx bx-copyright"></i>2024 All Rights Reserved</p>
<ul>
<li>
<a href="#"><i class="bx bxl-instagram"></i></a>
</li>
<li>
<a href="#"><i class="bx bx-envelope"></i></a>
</li>
<li>
<a href="#"><i class="bx bxl-twitter"></i></a>
</li>
<li>
<a href="#"><i class="bx bxl-facebook"></i></a>
</li>
</ul>
</div>
</footer>
<script>
/*sssticky navbar*/
window.addEventListener("scroll", function () {
var header = document.querySelector("header");
header.classList.toggle("sticky", window.scrollY > 0);
});
/*responsive navbar*/
function toggleMenu() {
const toggleMenu = document.querySelector(".toggleMenu");
const nav = document.querySelector(".nav");
toggleMenu.classList.toggle("active");
nav.classList.toggle("active");
}
/*filterable cards
Let list = document.querySelectorAll('.list');
Let list = document.querySelectorAll('.card');
for(Let i = 0; i<list.length ; i++){
list[i].addEventListener('.click',function(){
for(Let j=0 ; j<list.lengthm; j++){
list[j].classList.add('active');
}
this.classList.add('active');
Let dataFilter = this.getAttribute('data-fiter');
{
card[k].classList.remove('active');
card[k].classList.add('hide');
if(card[k].getAttribute('data-item') == dataFilter || dataFilter == 'all'){
card[k].classList.remove('hide');
card[k].classList.add('active');
}
}
})
}*/
</script>
</body>
</html>