-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
90 lines (84 loc) · 2.89 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
<!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" />
<link rel="shortcut icon" href="./favicon.svg" type="image/x-icon" />
<!-- CSS Link -->
<link rel="stylesheet" href="./style.css" />
<title>Weather App</title>
</head>
<body>
<div class="container">
<!-- Search Input -->
<div class="weather__header">
<form class="weather__search">
<input type="text" placeholder="Enter a city....." class="weather__searchform">
<i class="fa-solid fa-magnifying-glass"></i>
</form>
<div class="weather__units">
<span class="weather_unit_celsius">°C</span>
<span class="weather_unit_farenheit">°F</span>
</div>
</div>
<!-- Weather Details -->
<div class="weather__body">
<h1 class="weather__city"></h1>
<div class="weather__datetime">
</div>
<div class="weather__forecast"></div>
<div class="weather__icon">
<img src="http://openweathermap.org/img/wn/10d@4x.png" alt="">
</div>
<p class="weather__temperature">
18°
</p>
<div class="weather__minmax">
<p>Min: 12°</p>
<p>Max: 16°</p>
</div>
</div>
<!-- Weather Info -->
<div class="weather__info">
<!-- Real Temperature Feel -->
<div class="weather__card">
<i class="fa-solid fa-temperature-full"></i>
<div>
<p>Real Feel</p>
<p class="weather__realfeel">18°</p>
</div>
</div>
<!-- Humidity -->
<div class="weather__card">
<i class="fa-solid fa-droplet"></i>
<div>
<p>Humidity</p>
<p class="weather__humidity">18°</p>
</div>
</div>
<!-- Wind Speed -->
<div class="weather__card">
<i class="fa-solid fa-wind"></i>
<div>
<p>Wind</p>
<p class="weather__wind">18°</p>
</div>
</div>
<!-- Air Pressure -->
<div class="weather__card">
<i class="fa-solid fa-gauge-high"></i>
<div>
<p>Pressure</p>
<p class="weather__pressure">18°</p>
</div>
</div>
</div>
</div>
<!-- Script -->
<script
src="https://kit.fontawesome.com/a692e1c39f.js"
crossorigin="anonymous"></script>
<script src="./app.js"></script>
</body>
</html>