-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
46 lines (42 loc) · 1.29 KB
/
Copy pathindex.html
File metadata and controls
46 lines (42 loc) · 1.29 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="style.css">
<title>weather</title>
</head>
<body>
<div id="main">
<div id="search">
<input id="input" type="text" placeholder="Enter the city name">
<button id="btn"><img id="btnimg" src="images/search.png" alt=""></button>
</div>
<div id="error">
<p>Invalid city name</p>
</div>
<div id="weather">
<img id="weather-img" src="images/clear.png" alt="">
<h1 id="temp">21°c</h1>
<h2 id="city">Delhi</h2>
<div id="details">
<div class="col">
<img src="images/humidity.png">
<div>
<p id="humidity">50%</p>
<p>humidity</p>
</div>
</div>
<div class="col">
<img src="images/wind.png">
<div>
<p id="wind">15 km/h</p>
<p>wind</p>
</div>
</div>
</div>
</div>
</div>
<script src="main.js"></script>
</body>
</html>