-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (61 loc) · 2.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Weather App</title>
<link rel="manifest" href="manifest.json">
<link rel="manifest" href="/app.webmanifest" crossorigin="use-credentials">
<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="shortcut icon" href="./img/favicon.svg" type="image/x-icon">
<link rel="stylesheet" href="./css/style.css" />
<script defer src="./js/request.js"></script>
<script defer src="./js/index.js"></script>
</head>
<body>
<main>
<div class="container my-5">
<h1 class="text-center title">Weather in</h1>
<form class="search-loaction">
<input type="text" name="city" placeholder="Which city?" autocomplete="off"
class="form-control text-muted form-rounded p-4 shadow-sm" />
</form>
<div class="card rounded my-3 shadow-lg d-none back-card">
<div class="card-top text-center">
<div class="city-name my-3">
<p>Delhi</p>
<span>...</span>
</div>
<img src="img/night_image.svg" alt="" class="card-img-top time" />
</div>
<div class="card-body">
<div class="card-mid row">
<div class="col-8 text-center temp">
<span>30°C</span>
</div>
<div class="col-4 condition-temp">
<p class="condition">Thunder Storm</p>
<p class="high">30°C</p>
<p class="low">27°C</p>
</div>
</div>
<div class="icon-container card shadow mx-auto">
<img src="img/cloud.svg" alt="" />
</div>
<div class="card-bottom px-5 py-4 row">
<div class="col text-center">
<p>30°C</p>
<span>Feels Like</span>
</div>
<div class="col text-center">
<p>55%</p>
<span>Humidity</span>
</div>
</div>
</div>
</div>
</div>
</main>
</body>
</html>