-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathindex.html
More file actions
67 lines (58 loc) · 3.63 KB
/
index.html
File metadata and controls
67 lines (58 loc) · 3.63 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CloudME</title>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Open+Sans&display=swap" rel="stylesheet">
<link rel="stylesheet" href="./style.css">
<script src="./script.js" defer></script>
</head>
<body>
<div class="card">
<h5 class="tt2">Find Weather </h5>
<div class="search">
<input type="text" class="search-bar" placeholder="Search for city/country">
<button class="b1"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 1024 1024" height="1.5em"
width="1.5em" xmlns="http://www.w3.org/2000/svg">
<path
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z">
</path>
</svg></button>
</div>
<div class="weather loading">
<h2 class="city">Weather in Nashik</h2>
<h1 class="temp" style="display: inline;"></h1><p class="tt">CloudME</p>
<div class="flex">
<img src="https://openweathermap.org/img/wn/04n.png" alt="" class="icon" />
<div class="description"></div>
</div>
<div class="humidity">Humidity: </div>
<div class="wind">Wind speed: </div>
</div>
<br>
<div class="dd">
<input type="" name="" id="ui" placeholder="Enter Country Name" class="ci">
<button onclick="g1()" class="b1"><svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 1024 1024" height="1.5em"
width="1.5em" xmlns="http://www.w3.org/2000/svg">
<path
d="M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0 0 11.6 0l43.6-43.5a8.2 8.2 0 0 0 0-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z">
</path>
</svg></button>
</div>
<h2>COVID -19 Cases in <span id="country"></span> <img src="" id="flag"></h2>
<div class="board">
<div class="card1 a"><i class="fa fa-tachometer"></i><h5>Active Cases :
</h5><span id="active"></span></div>
<div class="card1 ca"><i class="fa fa-th-list"></i><h5>Total Cases :
</h5><span id="cases"></span></div>
<div class="card1 cr"><i class="fa fa-times-circle"></i><h5>Critical Cases : </h5><span id="critical"></span></div>
<div class="card1 d"><i class="fa fa-times"></i><h5>Total Deaths : </h5><span id="death"></span></div>
<div class="card1 r"><i class="fa fa-check-square-o"></i><h5>Recovered Cases : </h5><span id="recovered"></span></div>
<div class="card1 t"><i class="fa fa-eye"></i><h5>Total Testes Done : </h5><span id="tests"></span></div>
</div>
</div>
</body>
</html>