-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
78 lines (58 loc) · 3.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- If IE use the latest rendering engine -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- Set the page to the width of the device and set the zoon level -->
<meta name="viewport" content="width = device-width, initial-scale = 1">
<title>COVID-19 Tracker</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<link rel="stylesheet" href="css/style.css">
</head>
<body onload="CreateTableFromJSON()">
<div class="page-header">
<h1>Covid-19 Tracker</h1>
</div>
<div class="jumbotron" style="background-color: #FAFAFA; ">
<p>
This page shows the updated information regarding COVID-19 metrics around the world.
</p>
</br>
<p style="color:red; font-weight: 700;">Only the official confirmed numbers are updated. If today's cases state 0, it means no official number has been confirmed yet. </p>
</div>
<div class="container bdflag">
<img src="./img/bangladesh.gif" class="image-fluid flag" alt="Flag Responsive">
</div>
<!-- CHART -->
<!-- Country -->
<pre id="BDCountry" style="font-size: 40px;"></pre>
<!-- Total Cases -->
<p style="text-align: center; font: 1.5em sans-serif;">Total Cases:</p>
<pre id="BDCases" style="font: 1.5em sans-serif; font-weight: 700; color:grey;"></pre>
<!-- Today's Cases-->
<p style="text-align: center; font: 1.5em sans-serif;">Cases Today:</p>
<pre id="TODAYCases" style="font: 1.5em sans-serif; color:olivedrab; font-weight: 700;"></pre>
<!-- Deaths -->
<p style="text-align: center; font: 1.5em sans-serif;">Deaths:</p>
<pre id="BDDeaths" style="font: 1.5em sans-serif; color: black; font-weight: 700;"></pre>
<!-- Today's Deaths -->
<p style="text-align: center; font: 1.5em sans-serif;">Deaths Today:</p>
<pre id="TODAYDeaths" style="font: 1.5em sans-serif; color: red; font-weight: 700;"></pre>
<!-- Recovered -->
<p style="text-align: center; font: 1.5em sans-serif; color: green;">Recovered:</p>
<pre id="Recovered" style="font: 1.5em sans-serif; color: green; font-weight: 700; padding-bottom: 50px;"></pre>
<p id="showData"></p>
<div class="credits">
<b>Data from:
<a href="https://corona.lmao.ninja/docs/">NOVELCovid19 API</a>
</b>
</div>
<script src="./js/core.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.slim.min.js" integrity="sha384-J6qa4849blE2+poT4WnyKhv5vZF5SrPo0iEjwBvKU7imGFAV0wwj1yYfoRSJoZ+n" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js" integrity="sha384-wfSDF2E50Y2D1uUdj0O3uMBJnjuUD4Ih7YwaYd1iqfktj0Uod8GCExl3Og8ifwB6" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/Chart.min.js"></script>
</body>
</html>