-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
71 lines (68 loc) · 2.39 KB
/
index.html
File metadata and controls
71 lines (68 loc) · 2.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather page</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css" integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link href="style.css" rel="stylesheet"/>
</head>
<body>
<section class="container">
<!-- input field search -->
<div class="weather_header">
<form class="weather_search">
<i class="fa-solid fa-magnifying-glass"></i>
<input type="text" class="city_name" placeholder="search your city..."/>
</form>
</div>
<!-- weather main data -->
<div class="weather_body">
<h1 class="weather_city"></h1>
<p class="weather_date_time"></p>
<div class="weather_data" style="margin:1.5rem">
<p class="weather_forecast" style="display:inline;background-color: black;border-radius:1.3rem;color:white; padding: 0.5rem 1rem; " ></p>
<div class="weather_icon" ></div>
</div>
<p class="weather_temperature"></p>
<div class="weather_minmax">
<p class="weather_min"></p>
<p class="weather_max"></p>
</div>
</div>
<!-- weather extra data -->
<section class="weather_info">
<div class="weather_card">
<i class="fa-solid fa-temperature-three-quarters"></i>
<div>
<pre>Feels Like</pre>
<p class="weather_feelsLike">15°</p>
</div>
</div>
<div class="weather_card">
<i class="fa-solid fa-droplet"></i>
<div>
<pre>Humidity</pre>
<p class="weather_humidity">15°</p> <!--HTML entity to get degree used here: -->
</div>
</div>
<div class="weather_card">
<i class="fa-solid fa-wind"></i>
<div>
<pre>Wind</pre>
<p class="weather_wind">15°</p>
</div>
</div>
<div class="weather_card">
<i class="fa-solid fa-gauge-high"></i>
<div>
<pre>Pressure</pre>
<p class="weather_pressure">15°</p>
</div>
</div>
</section>
</section>
<script src="Function.js">
</script>
</body>
</html>