-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
57 lines (48 loc) · 1.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather App - Find weather of any city</title>
<link rel="shortcut icon" href="images/favicon.png" type="image/x-icon">
<link rel="stylesheet" href="style.css">
<script src="app.js" defer></script>
</head>
<body>
<!-- Preloader -->
<div id="preloader">
<div class="loader"></div>
</div>
<div class="app-container">
<div class="search-box">
<input type="text" name="city" id="city-input" placeholder="Enter City Name" spellcheck="false">
<button id="search"><img src="images/search.png" alt=""></button>
</div>
<div class="error">
<p>Invalid City Name</p>
</div>
<div class="weather">
<img src="images/clear.png" alt="" class="weather-icon">
<p id="condition">Clear</p>
<h1 id="temp"></h1>
<h2 id="city">Kolkata</h2>
<div class="details">
<div class="col">
<img src="images/humidity.png" alt="">
<div>
<p class="humidity"></p>
<p>Humidity</p>
</div>
</div>
<div class="col">
<img src="images/wind.png" alt="">
<div>
<p class="wind"></p>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>