-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
184 lines (178 loc) · 7.29 KB
/
index.html
File metadata and controls
184 lines (178 loc) · 7.29 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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="css/all.min.css" />
<link rel="stylesheet" href="css/bootstrap.min.css" />
<link rel="stylesheet" href="css/style.css" />
<title>Weather</title>
</head>
<body class="100vh bg-black">
<!-- Navbar -->
<nav class="navbar navbar-expand bg-black">
<div class="container px-4 d-flex flex-wrap justify-content-between align-items-center">
<div class="d-flex justify-content-center align-items-center col-sm-12 col-md-4">
<a href="#">
<i class="fa-solid fa-cloud-meatball px-3 my-0" style="color: #a3c5ff;"></i>
<div class="d-flex flex-column">
<a class="navbar-brand fw-bold" href="#">Weather</a>
<p>tagline goes here</p>
</div>
</a>
</div>
<ul class="navbar-nav col-sm-12 col-md-8 col-lg-6">
<li class="nav-item ps-3">
<a class="nav-link active text-white" aria-current="page" href="#">Home</a>
</li>
<li class="nav-item ps-3">
<a class="nav-link" href="#">News</a>
</li>
<li class="nav-item ps-3">
<a class="nav-link" href="#">Live Cameras</a>
</li>
<li class="nav-item ps-3">
<a class="nav-link" href="#">Photos</a>
</li>
<li class="nav-item ps-3">
<a class="nav-link" href="#">Contact</a>
</li>
</ul>
</div>
</nav>
<!--
Search Bar & Three Containers -->
<div class="contain py-5">
<!-- Search Bar -->
<div class="my-5 search position-relative m-auto col-sm-12 col-md-10 col-lg-8">
<input
type="text"
placeholder="Find your location..."
class="searchBar form-control px-3 py-2 border-0 rounded-5 bg-black my-4"
id="searchBar"
/>
<input
type="button"
id="submit"
value="Find Button"
class="btn position-absolute rounded-5 py-2 fw-bold col-xs-6 col-sm-4 col-md-2"
/>
</div>
<!-- Three Divs -->
<div class="threeContainers container d-flex flex-wrap justify-content-center align-items-center">
<!-- Today Section -->
<div class="day p-3 shadow">
<div class="dayNav d-flex justify-content-between align-items-center">
<h3 id="todayName" class="small">Sunday</h3>
<h3 id="todayDate" class="small">18 November</h3>
</div>
<div class="dayContent py-4">
<h4 id="city" class="fs-5">Cairo</h4>
<div class="icn py-3 d-flex justify-content-around align-items-center">
<div>
<h3 id="todayDegree" class="display-4 fw-bold d-inline-block pe-3">25</h3><h2 class="display-4 fw-bold d-inline-block"> <sup>o</sup>C</h2>
</div>
<img id="todayIcon" width="90">
</div>
<span id="todayDescription" class="small">Partly cloudy</span>
</div>
<div class="dayFooter d-flex justify-content-between align-items-center">
<div class="footerIcn">
<i class="fa-solid fa-umbrella fa-lg pe-1"></i>
<span id="humidity" class="pe-1 small">20</span><span class="small">%</span>
</div>
<div class="footerIcn">
<i class="fa-solid fa-wind fa-lg pe-1"></i>
<span id="wind" class="small">18</span><span class="small">km/h</span>
</div>
<div class="footerIcn">
<i class="fa-regular fa-compass fa-lg pe-1"></i>
<span id="compass" class="small">East</span>
</div>
</div>
</div>
<!-- Next Day -->
<div class="day p-3 shadow">
<div class="dayNav d-flex justify-content-center align-items-center flex-column">
<h3 id="dayName" class="nextDayName small">Sunday</h3>
</div>
<div class="dayContent py-2 text-center">
<img class="nextDayIcon" width="80">
<div class="d-flex justify-content-center display-4">
<h2 class="maxDegree display-4 fw-bold pe-2">25</h2>
<h2 class="display-4 fw-bold"><sup>o</sup>C</h2>
</div>
<div class="py-2 d-flex justify-content-center">
<h3 class="minDegree pe-2">17.8</h3>
<h3><sup>o</sup>C</h3>
</div>
<span class="nextDayDescription small">Partly cloudy</span>
</div>
</div>
<!-- The day after the next day -->
<div class="day p-3 shadow">
<div class="dayNav d-flex justify-content-center align-items-center flex-column">
<h3 id="dayName" class="nextDayName small">Sunday</h3>
</div>
<div class="dayContent py-2 text-center">
<img class="nextDayIcon" width="80">
<div class="d-flex justify-content-center display-4">
<h2 class="maxDegree display-4 fw-bold pe-2">25</h2>
<h2 class="display-4 fw-bold"><sup>o</sup>C</h2>
</div>
<div class="py-2 d-flex justify-content-center">
<h3 class="minDegree pe-2">17.8</h3>
<h3><sup>o</sup>C</h3>
</div>
<span class="nextDayDescription small">Partly cloudy</span>
</div>
</div>
</div>
</div>
<footer class="py-5 bg-dark">
<div class="container">
<div class=" d-flex flex-column align-items-center">
<div class="my-3 search position-relative col-sm-12 col-md-8 col-lg-6">
<input
type="text"
placeholder="Enter Your Email To Subscribe..."
class="searchBar form-control px-3 py-2 border-0 rounded-5 bg-black my-4"
id="search"
/>
<input
type="button"
id="submit"
value="Subscribe"
class="btn position-absolute rounded-5 py-2 fw-bold col-xs-6 col-sm-4 col-md-3"
/>
</div>
<p>Copyright 2014 Company name. Designed by Themezy. All rights reserved</p>
<div class="icns py-3 d-flex align-items-center">
<div class="circle d-flex justify-content-center align-items-center me-4">
<a href="https://facebook.com">
<i class="icn fa-brands fa-facebook-f"></i>
</a>
</div>
<div class="circle d-flex justify-content-center align-items-center me-4">
<a href="https://twitter.com/">
<i class="icn fa-brands fa-twitter"></i>
</a>
</div>
<div class="circle d-flex justify-content-center align-items-center me-4">
<a href="https://google.com/">
<i class="fa-brands fa-google-plus-g"></i>
</a>
</div>
<div class="circle d-flex justify-content-center align-items-center me-4">
<a href="https://pinterest.com/">
<i class="icn fa-brands fa-pinterest"></i>
</a>
</div>
</div>
</div>
</div>
</footer>
<script src="js/bootstrap.bundle.min.js"></script>
<script src="js/main.js"></script>
</body>
</html>