-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
137 lines (113 loc) · 6 KB
/
index.html
File metadata and controls
137 lines (113 loc) · 6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather</title>
<link rel="stylesheet" href="fontawesome-free-6.5.2-web/fontawesome-free-6.5.2-web/css/all.min.css">
<link rel="stylesheet" href="fontawesome-free-6.5.2-web/fontawesome-free-6.5.2-web/webfonts">
<link rel="stylesheet" href="bootstrap-5.3.3-dist/css/bootstrap.min.css">
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap"
rel="stylesheet">
</head>
<body>
<div class="container mt-5 ">
<section class="nav d-flex justify-content-between ">
<div class="logo d-flex flex-row">
<img src="imgs/logo@2x.png" alt="weather logo">
<div class="caption ms-3">
<p class="weather text-capitalize mb-1">Weather</p>
<p class="tagline mt-0">By Anish Cheraku</p>
</div>
</div>
<div class="navbar">
<ul class="nav nav-pills mb-3" id="pills-tab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active px-4 py-1 me-2" id="pills-home-tab" data-bs-toggle="pill"
data-bs-target="#pills-home" type="button" role="tab" aria-controls="pills-home"
aria-selected="true">Home</button>
</li>
<li class="nav-item nav-items-rest" role="presentation">
<a href="contact.html"><button class="nav-link px-4 py-1 me-2" id="pills-contact-tab" data-bs-toggle="pill"
data-bs-target="#pills-contact" type="button" role="tab" aria-controls="pills-contact"
aria-selected="false">Contact</button></a>
</li>
</ul>
</div>
</section>
</div>
<div class="container-fluid">
<div class="container mt-4">
<div class=" pt-4 position-relative ">
<label for="searchTerm"></label>
<input type="text" class="form-control mt-5 py-3 " id="searchTerm" placeholder="Find your location...">
</div>
</div>
</div>
<div class="container mt-5 cards">
<div class="row g-0 ">
<div class="col-lg-4 ">
<div class="card ">
<div class="date px-2 d-flex justify-content-between">
<p id="today">day</p>
<p id="todayDate"><span id="todayNumber" class="pe-1">26 </span><span id="todayMonth" >month</span></p>
</div>
<div class="details px-3 pt-4">
<p class="place mb-0 pb-0" id="location">Place</p>
<p class="temperature pt-0" ><span id="todayTemperature">2</span>°F</p>
<img src="imgs/113.png" alt="moon" id="todayConditionImg"> <!--will be change-->
<p class="clear" id="todayConditionDesc">clear</p>
<div class="directions d-flex flex-row">
<div class="umberella d-flex p-1 me-3">
<img src="imgs/icon-umberella.png" alt="umberella icone">
<p class="p-1" id="percentage-wind">percentage</p>
</div>
<div class="speedWind d-flex p-1 me-3">
<img src="imgs/icon-wind.png" alt="wind icone">
<p class="p-1" id="speed">speed</p>
</div>
<div class="direct d-flex p-1 me-3">
<img src="imgs/icon-compass.png" alt="direction-icone">
<p class="p-1" id="direction"> direct</p>
</div>
</div>
</div>
</div>
</div>
<div class="col-lg-4 ">
<div class="card h-100">
<div class=" date dateSecCard px-2 d-flex justify-content-center">
<p class="nextDay" id="nextDayName">day</p>
</div>
<div
class="details pt-5 detailsSecCard d-flex flex-column justify-content-center align-items-center">
<img src="imgs/113 (1).png" alt="sun" class="mb-3" id="nextDayConditionImg">
<p class="morning-temp mb-0" id="nextDayMorningTemp">mor-temp</p>
<p class="evening-temp" id="nextDayEveningTemp">ev-temp</p>
<p class="sunnySecCard" id="nextDayConditionDesc">Sunny</p>
</div>
</div>
</div>
<div class="col-lg-4 ">
<div class="card thirdCard h-100">
<div class=" date dateThirdCard px-2 d-flex justify-content-center">
<p id="lastDayName">day</p>
</div>
<div
class="details pt-5 detailsThirdCard d-flex flex-column justify-content-center align-items-center">
<img src="imgs/113 (1).png" alt="sun" class="mb-3" id="lastDayConditionImg">
<p class="morning-temp mb-0" id="lastDayMorningTemp">mor-temp</p>
<p class="evening-temp" id="lastDayEveningTemp">ev-temp</p>
<p class="sunnySecCard" id="lastDayConditionDesc">Sunny</p>
</div>
</div>
</div>
</div>
</div>
<script src="bootstrap-5.3.3-dist/js/bootstrap.min.js"></script>
<script src="home.js"></script>
</body>
</html>