-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (63 loc) · 2.03 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
<!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="stylesheet" href="style.css" />
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
/>
</head>
<body>
<!-- Search Bar -->
<div class="container">
<div class="row height d-flex justify-content-center align-items-center">
<div class="col-md-8">
<div class="search">
<i class="fa fa-search"></i>
<input
id="input"
type="text"
class="form-control"
placeholder="Enter City"
/>
<button class="btn btn-primary" id="submit">Search</button>
</div>
</div>
</div>
</div>
<!-- Cntainer with all info -->
<img src="images/image.png" alt="" />
<div class="container-fluid">
<div class="row justify-content-center">
<div class="col-12 col-md-4 col-sm-12 col-xs-12 mb-5">
<div class="card p-4 mb-5">
<div class="d-flex">
<h2 class="flex-grow-1" id="cityName">Varanasi</h2>
<h6 id="time" class="p-2"></h6>
</div>
<div class="d-flex flex-column temp mt-5 mb-3">
<h1 class="mb-0 font-weight-bold" id="temperature">35° C</h1>
<span class="small grey" id="sky">Clear</span>
</div>
<div class="d-flex">
<div class="temp-details flex-grow-1">
<p class="my-1">
<i class="fa fa-tint mr-2" aria-hidden="true"></i>
<span id="hum">26%</span>
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>