-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
100 lines (85 loc) · 2.33 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Weather App</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="./weatherIMg/weather-icon.png" type="image/x-icon">
<style>
#search-icon{
width: 20px;
height: 20px;
}
#icon-size{
width: 125px;
height: 100px;
}
#heading-col{
color: black;
}
</style>
</head>
<body>
<div class="card">
<div class="header">
<img id="icon-size" src="./weatherIMg/weather-icon.png" alt="Weather Icon">
<h1 id="heading-col">Weather App</h1>
</div>
<br>
<div class="search">
<input type="text" placeholder="Enter city name" spellcheck="false">
<button><img id="search-icon" src="./weatherIMg/search icon.png" alt=""></button>
</div>
<div class="error">
<p> Sorry ! but the city name you entered is not recognized </p>
</div>
<div class="weather">
<img src="heavy-rain.png" class="weather-icon">
<h1 class="temp">22°C</h1>
<h2 class="city">banglore</h2>
<div class="details">
<div class="col">
<img src="./weatherIMg/humidity.png" alt="">
<div>
<p class="humidity">50%</p>
<p>humidity</p>
</div>
</div>
<div class="col">
<img src="./weatherIMg/wind.png" alt="">
<div>
<p class="wind">15 km/hr</p>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
</div>
<div class="weather">
<img src="./weatherIMg/heavy-rain.png" class="weather-icon">
<h1 class="temp">tempreture</h1>
<h2 class="city">city</h2>
<div class="details">
<div class="col">
<img src="humidity.png" alt="">
<div>
<p class="humidity">50%</p>
<p>humidity</p>
</div>
</div>
<div class="col">
<img src="wind.png" alt="">
<div>
<p class="wind">15 km/hr</p>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
<div class="footer">
<p>Crafted with ❤️ by <a id="anuj-footer-color"href="https://www.linkedin.com/in/anuj-rishu" target="_blank" >Anuj Rishu Tiwari</a></p>
</div>
</div>
<script src="script.js"></script>
</body>
</html>