-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
71 lines (70 loc) · 2.61 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
<!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 rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="images/faviconimg.png" type="image/x-icon">
</head>
<body>
<div class="container">
<div class="weather_header">
<form class="weather_search">
<input type="text" class="weather_searchform" placeholder="Search for a city" >
<i class='fa fa-search'></i>
</form>
<div class="weather_units">
<span class="weather_unit_celsius" onclick="changeBackgroundColor(this)"> °C</span>
<span class="weather_unit_farenheit" onclick="changeBackgroundColor(this)" >°F </span>
</div>
</div>
<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="weather_icon">
</div>
<p class="weather_temperature"></p>
<div class="weather_minmax">
<p>Min:12°</p>
<p>Max:19°</p>
</div>
</div>
<div class="weather_info">
<div class="weather_card">
<i class="fa-solid fa-temperature-full"></i>
<div>
<p>Real Feel</p>
<p class="real_feel">18°</p>
</div>
</div>
<div class="weather_card">
<i class="fa-solid fa-droplet"></i>
<div>
<p>Humidity</p>
<p class="humidity">18°</p>
</div>
</div>
<div class="weather_card">
<i class="fa-solid fa-wind"></i>
<div>
<p>Wind</p>
<p class="wind">18°</p>
</div>
</div>
<div class="weather_card">
<i class="fa-solid fa-gauge-high"></i>
<div>
<p>Pressure</p>
<p class="pressure">18°</p>
</div>
</div>
</div>
</div>
<script src="https://kit.fontawesome.com/25c1b88d85.js" crossorigin="anonymous"></script>
<script src="script.js"></script>
</body>
</html>