-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathindex.html
More file actions
81 lines (69 loc) · 2.31 KB
/
Copy pathindex.html
File metadata and controls
81 lines (69 loc) · 2.31 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="A simple weather application to get current weather information">
<link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700;900&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<title>Weather App | OpenTeens</title>
</head>
<body>
<noscript>
<p>Please enable JavaScript to use this application.</p>
</noscript>
<main class="container">
<section class="search-box">
<i class="fa-solid fa-location-dot"></i>
<input type="text" placeholder="Enter your location">
<button class="fa-solid fa-magnifying-glass"></button>
</section>
<section class="not-found">
<img src="images/404.png" alt="404 Error">
<p>Oops! Invalid location :/</p>
</section>
<section class="weather-box">
<h2 class="city-name"></h2>
<img src="" alt="Weather Icon">
<p class="temperature"></p>
<p class="description"></p>
</section>
<section class="weather-details">
<div class="humidity">
<i class="fa-solid fa-water"></i>
<div class="text">
<span></span>
<p>Humidity</p>
</div>
</div>
<div class="pollution" style="display: none;">
<i class="fa-solid fa-wind"></i>
<div class="text">
<span></span>
<p>Air Pollution</p>
</div>
</div>
<div class="wind">
<i class="fa-solid fa-wind"></i>
<div class="text">
<span></span>
<p>Wind Speed</p>
</div>
</div>
<div class="coords">
<i class="fa-solid fa-compass"></i>
<div class="text">
<span></span>
<p>Coords</p>
</div>
</div>
</section>
</main>
<footer class="footer">
Developed by OpenTeens Community
</footer>
<script src="https://kit.fontawesome.com/7c8801c017.js" crossorigin="anonymous"></script>
<script src="index.js"></script>
</body>
</html>