-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
62 lines (62 loc) · 2 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta information and external CSS file links -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="https://cdn.jsdelivr.net/npm/remixicon@3.5.0/fonts/remixicon.css" rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
<title>Weather App</title>
</head>
<body>
<!-- Weather App Container -->
<div class="card">
<!-- Search Input and Button -->
<div class="search">
<input type="text" placeholder="Enter location" />
<button><i class="ri-search-line"></i></button>
</div>
<!-- Error Message -->
<div class="error">
<p>invalid location name</p>
</div>
<!-- Weather Information Container -->
<div class="container">
<!-- Weather Details -->
<div class="weather">
<!-- Weather Icon -->
<img src="images/clear.png" alt="climate-img" class="weather-icon" />
<!-- Temperature -->
<h2 class="temp">7°C</h2>
<!-- Location (City) -->
<h3 class="location">New York</h3>
</div>
<!-- Additional Weather Details -->
<div class="details">
<!-- Humidity -->
<div class="col">
<div class="img">
<img src="images/humidity.png" alt="humidity-img" />
</div>
<div class="text">
<p class="humidity">53%</p>
<p>Humidity</p>
</div>
</div>
<!-- Wind Speed -->
<div class="col">
<div class="img">
<img src="images/wind.png" alt="wind img" />
</div>
<div class="text">
<p class="wind">5.66 km/h</p>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
</div>
<!-- JavaScript file -->
<script src="app.js"></script>
</body>
</html>