forked from AshutoshRath1612/Healer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
two.html
153 lines (132 loc) · 5.9 KB
/
two.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="">
<meta name="author" content="Mark Otto, Jacob Thornton, and Bootstrap contributors">
<meta name="generator" content="Hugo 0.88.1">
<title>News and update</title>
<link rel="canonical" href="https://getbootstrap.com/docs/5.1/examples/jumbotron/">
<!-- Bootstrap core CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
<!-- javascript bunddle -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script>
<!-- Favicons -->
<link rel="apple-touch-icon" href="/docs/5.1/assets/img/favicons/apple-touch-icon.png" sizes="180x180">
<link rel="icon" href="/docs/5.1/assets/img/favicons/favicon-32x32.png" sizes="32x32" type="image/png">
<link rel="icon" href="/docs/5.1/assets/img/favicons/favicon-16x16.png" sizes="16x16" type="image/png">
<link rel="manifest" href="/docs/5.1/assets/img/favicons/manifest.json">
<link rel="mask-icon" href="/docs/5.1/assets/img/favicons/safari-pinned-tab.svg" color="#7952b3">
<link rel="icon" href="/docs/5.1/assets/img/favicons/favicon.ico">
<meta name="theme-color" content="#7952b3">
<!-- font awsome -->
<script src="https://kit.fontawesome.com/b93ebfc1ae.js" crossorigin="anonymous"></script>
<style>
.bd-placeholder-img {
font-size: 1.125rem;
text-anchor: middle;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
@media (min-width: 768px) {
.bd-placeholder-img-lg {
font-size: 3.5rem;
}
}
.stats {
padding: 30px;
}
.dark-mode {
background-color: black;
color: red;
}
.color{
color: darkred;
}
</style>
<script>
function darkMode() {
var element = document.body;
element.classList.toggle("dark-mode");
}
</script>
</head>
<body >
<main id="mainbody" class="fadebody">
<div class="container py-4">
<header class="pb-3 mb-4 border-bottom">
<a href="/" class="d-flex align-items-center text-dark text-decoration-none">
<i class="fa-thin fa-mask-face"></i> <span class="fs-1 color"><strong>Current Update</strong></span>
</a>
<div align="right">
<button type="button" class="btn btn-dark" onclick="darkMode()">🌒</button></div>
</header>
<div class="p-5 mb-4 bg-light rounded-3">
<div class="container">
<div class="row">
<div class="col stats ">
<h4>Active</h4>
<h1 class="display-4 " id="covidActive">--</h1>
</div>
<div class="col stats">
<h4>Recoverd</h4>
<h1 class="display-4" id="covidRecovered">--</h1>
</div>
<div class="col stats">
<h4>Deaths</h4>
<h1 class="display-4" id="covidDeath">--</h1>
</div>
</div>
</div>
</div>
<header class="pb-3 mb-4 border-bottom">
<a href="/" class="d-flex align-items-center text-dark text-decoration-none">
<i class="fa-thin fa-mask-face"></i> <span class="fs-1 color"><strong>Country Update</strong></span>
</a>
</header>
<form>
<div class="col-auto d-flex m-3">
<input type="text" class="form-control" id="inputCountry" placeholder="Search the Country">
<div class="col-auto m-2">
<button type="submit" class="btn btn-primary btn-lg " id="countrySearch">Search</button>
</div>
</div>
</form>
<div class="p-5 mb-4 bg-light rounded-3">
<div class="container">
<div class="row">
<div class="col stats ">
<h4>Active</h4>
<h1 class="display-4 " id="covidcountryActive">--</h1>
</div>
<div class="col stats ">
<h4>Cases</h4>
<h1 class="display-4 " id="covidcountryCases">--</h1>
</div>
<div class="col stats">
<h4>Recoverd</h4>
<h1 class="display-4" id="covidcountryRecovered">--</h1>
</div>
<div class="col stats">
<h4>Deaths</h4>
<h1 class="display-4" id="covidcountryDeath">--</h1>
</div>
</div>
</div>
</div>
<h1>NEWS</h1>
<hr>
<div class="row align-items-md-stretch">
<div id="news">
</div>
</div>
<footer class="pt-3 mt-4 text-muted border-top">
© 2021
</footer>
</div>
</main>
</body>
<script src="indexx.js"></script>
</html>