-
Notifications
You must be signed in to change notification settings - Fork 31
/
index.html
56 lines (48 loc) · 1.76 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
<!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 href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@600&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="w-card">
<div class="searchbox">
<input type="text" placeholder="Enter city name" spellcheck="false">
<button>Search</button>
</div>
<div class="error">
<p>Invalid City name</p>
</div>
<div class="weather">
<img src="images/clouds.png" alt="" class="weather-icon">
<h2 class="temperature" id="temp">22°c</h2>
<h2 class="city" id="city-name">New Delhi,</h2>
<h2 class="state" id="city-name2">India</h2>
<div class="additional-details">
<div id="col1" class="column">
<img src="images/humidity.png" alt="" id="humidity-img">
<div>
<p class="humidity">47%</p>
<p>Humidity</p>
</div>
<div>
<p class="Date"></p>
<p>Oct 14,2k24</p>
</div>
</div>
<div id="col2" class="column">
<img src="images/wind.png" alt="">
<div>
<p class="wind">8.3 kmph</p>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>