-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
238 lines (237 loc) · 12.8 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
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title id="title">COVID-19 India</title>
<link href="https://fonts.googleapis.com/css?family=Product+Sans" rel="stylesheet" type="text/css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=KoHo&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- <script src="https://code.highcharts.com/highcharts.js"></script> -->
<script src="https://code.highcharts.com/stock/highstock.js"></script>
<script type="text/javascript">
function googleTranslateElementInit() {
new google.translate.TranslateElement({pageLanguage: 'en', includedLanguages: 'bn,en,hi,mr,ml,pa,sd,ta,ur', layout: google.translate.TranslateElement.InlineLayout.SIMPLE, autoDisplay: false}, 'google_translate_element');
}
</script>
<script type="text/javascript" src="https://translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
<meta name="google-translate-customization" content="cf4fd9d6a9e017d5-7c969e45eba53879-g303b6a4c71095c23-1c"></meta>
<link rel="stylesheet" href="./css/main.css">
<link rel="stylesheet" href="./css/dark.css">
<link rel="stylesheet" href="./css/bt.css">
<meta name="title" content="COVID-19 Updates | India">
<meta name="keywords" content="coronavirus,corona,covid,covid19,covid-19,covidindia,india,virus,china,wuhan,stats,live">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.0/jquery.min.js"></script>
<meta name="description" content="Tracking of live coronavirus stats and cases in India">
<link rel="icon" href="https://cdn4.iconfinder.com/data/icons/bacteria-and-viruses-filled/64/bacteria_virus-01-512.png" type="image/x-icon" sizes="192x192">
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
</head>
<header>
<nav class="navbar"><b>
<span class="inner-switch"></span>
<li style="list-style-type: none; float: right;" id="google_translate_element"></li>
<div class="sitenavigation">
<span class="menu-icon">
<a href="#" class="menu example5"><span></span></a>
<div id="hamburger">
<span></span>
<span></span>
<span></span>
</div>
</span>
<ul style="height: 60px;">
<li class="selected"><a href="/">Home</a></li>
<li><a href="sources">Sources</a></li>
<li><a href="who">WHO</a></li>
<li><a href="faqs">FAQs</a></li>
</ul>
</div>
</nav></b>
</header>
<body style="animation-delay: 0.0s; transition: all .1s ease-in-out 0.1s;" class="dark">
<header>
<div class="Level fadeInUp" style="animation-delay: 0.5s;">
<div class="heading">
<div class="bulb"><b>
<div class="container">
<div id="carouselContent" class="carousel slide" data-ride="carousel">
<div class="carousel-inner" role="listbox">
<div class="carousel-item active text-center p-4">
<p>Wash your hands regularly for 20 seconds, with soap and water or alcohol-based hand rub</p>
</div>
<div class="carousel-item text-center p-4">
<p>Cover your nose and mouth with a disposable tissue or flexed elbow when you cough or sneeze</p>
</div>
<div class="carousel-item text-center p-4">
<p>Avoid close contact (1 meter or 3 feet) with people who are unwell</p>
</div>
<div class="carousel-item text-center p-4">
<p>Stay home and self-isolate from others in the household if you feel unwell</p>
</div>
<div class="carousel-item text-center p-4">
<p>Don't Touch your eyes, nose, or mouth if your hands are not clean</p>
</div>
</div>
</div>
</div>
</b></div>
<br><br><input type="text" id="searchbar" onkeyup="search()" placeholder="Search for States , District.." title="Search Bar">
<ul id="search">
</ul>
<br>
<br>
<div class="text"> COVID-19 </div>
<div class="ico">
<svg xmlns="http://www.w3.org/2000/svg" width="66px" height="66px" style="margin-bottom: -2.3rem;" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" focusable="false" width="1em" height="1em" style="-ms-transform: rotate(360deg); -webkit-transform: rotate(360deg); transform: rotate(360deg);" preserveAspectRatio="xMidYMid meet" viewBox="0 0 512 512">
<path d="M483.55 227.55H462c-50.68 0-76.07-61.27-40.23-97.11L437 115.19A28.44 28.44 0 0 0 396.8 75l-15.24 15.22c-35.84 35.83-97.11 10.45-97.11-40.23V28.44a28.45 28.45 0 0 0-56.9 0V50c0 50.68-61.27 76.06-97.11 40.23L115.2 75A28.44 28.44 0 0 0 75 115.19l15.25 15.25c35.84 35.84 10.45 97.11-40.23 97.11H28.45a28.45 28.45 0 1 0 0 56.89H50c50.68 0 76.07 61.28 40.23 97.12L75 396.8a28.45 28.45 0 0 0 40.2 40.2l15.24-15.25c35.84-35.84 97.11-10.45 97.11 40.23v21.54a28.45 28.45 0 0 0 56.9 0V462c0-50.68 61.27-76.07 97.11-40.23L396.8 437a28.45 28.45 0 0 0 40.2-40.2l-15.25-15.24c-35.84-35.84-10.45-97.12 40.23-97.12h21.54a28.45 28.45 0 1 0 0-56.89zM224 272a48 48 0 1 1 48-48a48 48 0 0 1-48 48zm80 56a24 24 0 1 1 24-24a24 24 0 0 1-24 24z" />
</svg>
</div>
<div class="text1">INDIA </div>
</div>
<!-- <div id="covid3" class="date"><b> </b></div> -->
<!-- <div id="space"> -->
<!-- </div> -->
<div id="mainback" class="hide">
<br>
<div id="goback" class="Level fadeInUp click back" onclick="dataempty()" style="animation-delay: 0.6s;">Go Home</div>
<div id="goback1" class="Level fadeInUp click back hide" onclick="gostate()" style="animation-delay: 0.6s;">Go Back</div>
</div>
<div class='dis'>
<div id="coviddis" class="Level fadeInUp" style="animation-delay: 0.6s;"> </div></div><br>
<div id="dispage3" class='dis hide'>
<div id="coviddis1" class="Level fadeInUp" style="animation-delay: 0.6s;"> </div></div>
<div id="covid4" class="Level fadeInUp" style="animation-delay: 0.6s;"> </div>
<br>
<div id="world1" class="Level fadeInUp" style="animation-delay: 0.4s; overflow-x: hidden;">
<div class="info" style="border-radius: 3px;overflow-x: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24); background: linear-gradient(90deg, rgba(153,0,255,.3) 0%, rgba(55,55,255,.3) 32%, rgba(0,255,243,.3) 100%);">
<h1 align="center">World</h1>
<div id="world" style="display: inline-block;"></div>
<div style="display: inline-block;" id="tests"></div>
</div>
</div>
</header>
<div id="tabletext">
<br>
<h1 align="center" style="margin-top: -25px;">Statistics by state</h1>
<br>
<h3 align="center" style="margin-top: -20px;">Click on column name to sort</h3>
<h3 id="statetext" align="center">Click on state name for more details</h3>
<br>
<h3 align="center">Sort by today's records <label class="switch1">
<input type="checkbox">
<span id="sortswitch" class="slider round"></span>
</label></h3>
<br>
</div>
<div id="vacinetext" class="hide">
<br>
<h1 align="center" style="margin-top: -25px;">Today's vaccination info</h1>
<br>
<h3 align="center" style="margin-top: -20px;">Click on column name to sort</h3><br>
</div>
<table id="covid5">
<thead>
<tr id="tabletitle" class="sticky"> </tr>
</thead>
<tbody id="table"></tbody>
<tfoot id="foot"></tfoot>
</table>
<h1 align="center">Donut Graphs</h1>
<h4 align="center">Tap For the Data</h4>
<br>
<h1 align="center">Cases</h1>
<div class="info" style="display: block; align-items: center; justify-content: center">
<div class="chart">
<div id="covid19"></div>
</div>
<div class="chart">
<div id="covid"></div>
</div>
</div>
<div id="bar">
<h1 align="center">Bar Gaphs</h1>
<h4 align="center">Tap For the Data</h4>
<div class="info" style="display: block; align-items: center; justify-content: center">
<div class="chart">
<div id="covidcol1"></div>
</div>
<div class="chart">
<div id="covidcol4"></div>
</div>
<div class="chart">
<div id="covidcol3"></div>
</div>
<div class="chart">
<div id="covidcol2"></div>
</div>
</div>
</div>
<h1 align="center">Line Chart</h1>
<h2 align="center">Total cases</h2>
<div class="info" style="display: block; align-items: center; justify-content: center">
<div class="chart">
<div id="curve_chart"></div>
</div>
<div class="chart">
<div id="curve_chart1"></div>
</div>
<div class="chart">
<div id="curve_chart2"></div>
</div>
<div class="chart">
<div id="curve_chart3"></div>
</div>
</div>
<div>
<section class="help">
<div class="help__inner container"> <b>Would love your feedback/suggestions! Just click the button given below.</b>
<br> <a href="formpage.html" class="join">Feedback</a> </div>
<ul class="social__list">
<li><b>Ishaan | Shivan</b></li>
<li>
<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" style="margin-left:-6px">
<path d="M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm0 15.781c-2.084 0-3.781-1.696-3.781-3.781s1.696-3.781 3.781-3.781c1.172 0 2.306.523 3.136 1.669l1.857-1.218c-1.281-1.826-3.133-2.67-4.993-2.67-3.308 0-6 2.692-6 6s2.691 6 6 6c1.881 0 3.724-.859 4.994-2.67l-1.857-1.218c-.828 1.14-1.959 1.669-3.137 1.669z" />
</svg>
</li>
</ul>
<ul class="social__list" style="margin-top:-1px;">
<li>
<a href="https://www.facebook.com/ishaan.singh13">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24">
<path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm3 8h-1.35c-.538 0-.65.221-.65.778v1.222h2l-.209 2h-1.791v7h-3v-7h-2v-2h2v-2.308c0-1.769.931-2.692 3.029-2.692h1.971v3z" />
</svg>
</li>
<li>
<a href="https://twitter.com/ishaan_singh15">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24">
<path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.066 9.645c.183 4.04-2.83 8.544-8.164 8.544-1.622 0-3.131-.476-4.402-1.291 1.524.18 3.045-.244 4.252-1.189-1.256-.023-2.317-.854-2.684-1.995.451.086.895.061 1.298-.049-1.381-.278-2.335-1.522-2.304-2.853.388.215.83.344 1.301.359-1.279-.855-1.641-2.544-.889-3.835 1.416 1.738 3.533 2.881 5.92 3.001-.419-1.796.944-3.527 2.799-3.527.825 0 1.572.349 2.096.907.654-.128 1.27-.368 1.824-.697-.215.671-.67 1.233-1.263 1.589.581-.07 1.135-.224 1.649-.453-.384.578-.87 1.084-1.433 1.489z" />
</svg>
</li>
<li>
<a href="https://www.instagram.com/i__shaan/">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24">
<path d="M14.829 6.302c-.738-.034-.96-.04-2.829-.04s-2.09.007-2.828.04c-1.899.087-2.783.986-2.87 2.87-.033.738-.041.959-.041 2.828s.008 2.09.041 2.829c.087 1.879.967 2.783 2.87 2.87.737.033.959.041 2.828.041 1.87 0 2.091-.007 2.829-.041 1.899-.086 2.782-.988 2.87-2.87.033-.738.04-.96.04-2.829s-.007-2.09-.04-2.828c-.088-1.883-.973-2.783-2.87-2.87zm-2.829 9.293c-1.985 0-3.595-1.609-3.595-3.595 0-1.985 1.61-3.594 3.595-3.594s3.595 1.609 3.595 3.594c0 1.985-1.61 3.595-3.595 3.595zm3.737-6.491c-.464 0-.84-.376-.84-.84 0-.464.376-.84.84-.84.464 0 .84.376.84.84 0 .463-.376.84-.84.84zm-1.404 2.896c0 1.289-1.045 2.333-2.333 2.333s-2.333-1.044-2.333-2.333c0-1.289 1.045-2.333 2.333-2.333s2.333 1.044 2.333 2.333zm-2.333-12c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm6.958 14.886c-.115 2.545-1.532 3.955-4.071 4.072-.747.034-.986.042-2.887.042s-2.139-.008-2.886-.042c-2.544-.117-3.955-1.529-4.072-4.072-.034-.746-.042-.985-.042-2.886 0-1.901.008-2.139.042-2.886.117-2.544 1.529-3.955 4.072-4.071.747-.035.985-.043 2.886-.043s2.14.008 2.887.043c2.545.117 3.957 1.532 4.071 4.071.034.747.042.985.042 2.886 0 1.901-.008 2.14-.042 2.886z" />
</svg>
</li>
<li>
<a href="https://www.linkedin.com/in/ishaansingh10/">
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24">
<path d="M12 0c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm-2 16h-2v-6h2v6zm-1-6.891c-.607 0-1.1-.496-1.1-1.109 0-.612.492-1.109 1.1-1.109s1.1.497 1.1 1.109c0 .613-.493 1.109-1.1 1.109zm8 6.891h-1.998v-2.861c0-1.881-2.002-1.722-2.002 0v2.861h-2v-6h2v1.093c.872-1.616 4-1.736 4 1.548v3.359z" />
</svg>
</li>
</ul>
</div>
</div>
</section>
</body>
<script src="./js/darkmode.js"></script>
<script src="./js/sort.js"></script>
<script src="./js/data.js"></script>
<script src="./js/charts.js"></script>
<script src="./js/statescharts.js"></script>
<script src="./js/statesdata.js"></script>
</html>