-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
169 lines (137 loc) · 5.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=1024">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" />
<!-- Bootstrap JS -->
<script src="https://code.jquery.com/jquery-3.4.1.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<!-- My jQuery -->
<script src="main.js"></script>
<style>
body {
font-weight: bolder;
font-size: 20px;
text-shadow: 2px 1px 2px #aaa
}
.lineChartContainer {
height: 500px;
padding: 20px 5px;
background-color: white;
}
</style>
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a class="nav-link" href="">Home <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#"></a>
</li>
</ul>
</div>
</nav>
</head>
<body>
<!-- Chart.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.9.3/Chart.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/src/htmlson.js"></script>
<title>Covid-19 Tracker India</title>
</head>
<body>
<div class="container-fluid bg-light p-2 text-center my-1">
<img src="man.png" alt="logo image" style="width:100px;height:100px;">
<h1 style="font-weight: bolder;">Covid-19 Tracker India</h1>
</div>
<div class="container bg-light p-1 my-1 text-center">
<h5 class="text-info1" style="color:limegreen" ,font-weight:bolder>#GoCoronaGo</h5>
<img src="stayhome.png" alt="logo image" style="width:80px;height:80px;">
<p class="text-muted" style="font-weight: bolder;">Stay Home Stay Safe.</p>
</div>
<div class="container my-5 p-2">
<div class="row text-center">
<div class="col-3 ">
<h5 style=" font-weight: bolder; color: #ff9000;">Confirmed</h5>
<p id="confirmed" style="color: #ff9000;"></p>
</div>
<div class="col-3 text-info">
<h5 style="font-weight: bolder;">Active</h5>
<p id="active"></p>
</div>
<div class="col-3 text-success">
<h5 style="font-weight: bolder;">Recovered</h5>
<p id="recovered"></p>
</div>
<div class="col-3 text-danger">
<h5 style="font-weight: bolder;">Deceased</h5>
<p id="deaths"></p>
</div>
</div>
</div>
<div class=" container bg-light p-1 my-1 text-center">
<h5 style="font-weight: bolder;">Growth Rate in last 7 days</h5>
<p id="Growth"></p>
</div>
<div class=" container bg-light p-1 my-1 text-center">
<h5 style="font-weight: bolder;">Prediction for Total Cases After 7 days in India</h5>
<p id="predict"></p>
</div>
<div>
<h4 class="container bg-light p-1 my-1 text-center">Covid-19 Cases India Total </h4>
</div>
<canvas id="myChart2" width="250" height="100"></canvas>
<div>
<h4 class="container bg-light p-1 my-1 text-center">Covid-19 Cases India-Timeline </h4>
</div>
<canvas id="myChart"></canvas>
<div>
<h4 class="container bg-light p-1 my-1 text-center">Covid-19 Cases India-State Wise </h4>
</div>
<canvas id="myChart3"></canvas>
<div>
<h4 class="container bg-light p-1 my-1 text-center">Covid-19 Cases India State Wise Count </h4>
</div>
<div class="container-fluid">
<div class="table-responsive">
<table class="table">
<thead class="thead-dark">
<tr>
<th scope="col">States</th>
<th scope="col">Confirmed</th>
<th scope="col">Active</th>
<th scope="col">Recovered</th>
<th scope="col">Deceased</th>
</tr>
</thead>
<tbody>
</tbody>
</table>
</table>
</div>
</div>
<footer class="footer mt-auto py-3 bg-dark">
<div class="container text-center">
<span>
<p style="color: white;">Made With <span style="font-size:150%;color:red;">♥</span>
<span style="color: white;">By,<a href="https://github.com/sparsh308" style="color: white;"
target="_blank">Sparsh Kishore
Kumar</a></span>
</div>
</div>
<div class="container text-center">
<span style="color: white;"> Icons made by <a href="https://www.flaticon.com/authors/freepik" title="Freepik"
style="color: white;">Freepik</a> from <a style="color: white;" href="https://www.flaticon.com/"
title="Flaticon">
www.flaticon.com</a></span>
</div>
</footer>
</body>
</html>