-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapi.html
183 lines (174 loc) · 5.97 KB
/
api.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
<!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="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css" integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous"> -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Karla:ital,wght@1,700&display=swap"
rel="stylesheet"
/>
<!-- jquery cdn -->
<script src="jquery-3.5.1.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script
src="https://code.jquery.com/jquery-3.6.0.js"
integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk="
crossorigin="anonymous"
></script>
<!-- im fell dw font style -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=IM+Fell+DW+Pica+SC&display=swap"
rel="stylesheet"
/>
<!-- font-style handlee -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Handlee&display=swap"
rel="stylesheet"
/>
<!-- <script src="api.css"></script> -->
<link rel="stylesheet" href="api.css" />
<title>covid tracker</title>
</head>
<body>
<header>COVID-19 LIVE DATA TRACKER</header>
<div class="global-data">
<h3>Global Covid data:</h3>
<div class="cases-table">
<div class="global">
<h2 class="b1">
<img src="media/covid.jpg" style="width: 60px" />
<div class="inline">
CASES CONFIRMED <br />
<div
id="total-cases"
style="padding: 5px; text-align: center"
></div>
</div>
</h2>
</div>
<div class="global">
<h2 class="b2">
<img src="media/rip.jpg" style="width: 60px" />
<div class="inline">
TOTAL DEATHS<br />
<div
id="total-deaths"
style="padding: 5px; text-align: center"
></div>
</div>
</h2>
</div>
<div class="global">
<h2 class="b3">
<img src="media/logo1.jpg" style="width: 60px" />
<div class="inline">
TOTAL RECOVERED<br />
<div
id="total-recovered"
style="padding: 5px; text-align: center"
></div>
</div>
</h2>
</div>
</div>
</div>
<div id="container">
<table id="tabledesign" style="width: 550px; margin-left: 40px">
<thead>
<th>COUNTRIES</th>
<th>TOTAL-CONFIRMED</th>
<th>TOTAL-DEATHS</th>
</thead>
</table>
<div id="inputtext" style="margin-left: 40px">
<br />
</div>
</div>
<!-- <button class="button"><span>Hover</span></button> -->
<div class="videos">
<h4>Related Videos -:</h4>
<iframe
class="v1"
width="440"
height="280"
src="https://www.youtube.com/embed/-3pwcgu-u6A"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
<iframe
class="v1"
width="440"
height="280"
src="https://www.youtube.com/embed/Ha6yUxze1vk"
title="YouTube video player"
frameborder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
allowfullscreen
></iframe>
</div>
<footer>
<p>
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
fill="currentColor"
class="bi bi-telephone-outbound-fill"
viewBox="0 0 16 16"
>
<path
fill-rule="evenodd"
d="M1.885.511a1.745 1.745 0 0 1 2.61.163L6.29 2.98c.329.423.445.974.315 1.494l-.547 2.19a.678.678 0 0 0 .178.643l2.457 2.457a.678.678 0 0 0 .644.178l2.189-.547a1.745 1.745 0 0 1 1.494.315l2.306 1.794c.829.645.905 1.87.163 2.611l-1.034 1.034c-.74.74-1.846 1.065-2.877.702a18.634 18.634 0 0 1-7.01-4.42 18.634 18.634 0 0 1-4.42-7.009c-.362-1.03-.037-2.137.703-2.877L1.885.511zM11 .5a.5.5 0 0 1 .5-.5h4a.5.5 0 0 1 .5.5v4a.5.5 0 0 1-1 0V1.707l-4.146 4.147a.5.5 0 0 1-.708-.708L14.293 1H11.5a.5.5 0 0 1-.5-.5z"
/>
</svg>
Helpline Number :+91-11-23978046 <br />
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
fill="currentColor"
class="bi bi-info-circle-fill"
viewBox="0 0 16 16"
>
<path
d="M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16zm.93-9.412-1 4.705c-.07.34.029.533.304.533.194 0 .487-.07.686-.246l-.088.416c-.287.346-.92.598-1.465.598-.703 0-1.002-.422-.808-1.319l.738-3.468c.064-.293.006-.399-.287-.47l-.451-.081.082-.381 2.29-.287zM8 5.5a1 1 0 1 1 0-2 1 1 0 0 1 0 2z"
/></svg
>Toll Free : 1075 Helpline<br />
<svg
xmlns="http://www.w3.org/2000/svg"
width="16"
height="16"
fill="currentColor"
class="bi bi-envelope-fill"
viewBox="0 0 16 16"
>
<path
d="M.05 3.555A2 2 0 0 1 2 2h12a2 2 0 0 1 1.95 1.555L8 8.414.05 3.555zM0 4.697v7.104l5.803-3.558L0 4.697zM6.761 8.83l-6.57 4.027A2 2 0 0 0 2 14h12a2 2 0 0 0 1.808-1.144l-6.57-4.027L8 9.586l-1.239-.757zm3.436-.586L16 11.801V4.697l-5.803 3.546z"
/>
</svg>
Email ID : ncov2019@gov.in
</p>
</footer>
</body>
<!-- javasvript -->
</html>
<!-- // var data = '';
// data =
// ' <td> ${actualdata.Global.TotalConfirmed} </td>
// <td> ${actualdata.Global.TotalDeaths} </td>';
// var tbl = document.createElement("table");
// var tblBody = document.createElement("tbody");
// for (var j = 0; j <= 2; j++) var row = document.createElement("tr");
// var head1 = document.createTextNode("COUNTRIES");
// // head1.style.margin = "20px";
// document.getElementById("head").appendChild(head1); -->