-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
152 lines (142 loc) · 5.35 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
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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8" />
<meta name="description"
content="It is the right place where you can search for live weather of any place located globally." />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="keywords" content="weather, live-weather, weather-api " />
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico" />
<title>Weather App</title>
<link rel="stylesheet" href="./css/bootstrap.min.css" />
<link rel="stylesheet" href="/styles/style.css" />
</head>
<body>
<!-- ------------------------------- NAVBAR -------------------------------- -->
<nav class="navbar">
<div class="container">
<div class="navbar-header">
<button class="navbar-toggler" data-toggle="open-navbar1" title="menu">
<span></span>
<span></span>
<span></span>
</button>
<a href="/">
<h4 class="m-0 weather_logo">Global<span>Weather</span></h4>
</a>
</div>
<div class="navbar-menu" id="open-navbar1">
<ul class="navbar-nav">
<li class="active"><a href="/">Home</a></li>
<li><a href="/about">About</a></li>
</ul>
</div>
</div>
</nav>
<!-- ----------------------------- RESULT-BOX ------------------------------ -->
<div class="result_main_div">
<div class="result_box">
<div class="search_box pt-3 d-flex flex-row justify-content-center align-content-center">
<form class="form-group w-100 search_form" action="/" method="post">
<div>
<input class="form-control input-width" id="cityInput" type="text" name="cityName"
placeholder="Search New City" />
<i class="fa-solid fa-magnifying-glass search_icon"></i>
</div>
</form>
</div>
<div class="current_search_info">
<div class="current_time">
<p>
7:43 <span>PM</span>
</p>
<p>
WEDNESDAY, 14 DECEMBER 2022
</p>
</div>
<div class="current_city">
<p>DELHI</p>
<p></p>
<p>INDIA</p>
</div>
</div>
<div class="current_city_weather_condition">
<ul>
<li>
<i class="fa-solid fa-smog"></i>
</li>
<li>
HAZE
</li>
</ul>
</div>
</div>
<div class="result_weather_info">
<div id="weather">
<div class="current_weather_condition">
<span><i class="fa-solid fa-cloud"></i></span>
<p>CLOUDY</p>
</div>
<div class="current_temperature">
<div class="temperature temp">
<p>17 <span>o</span> <span>c</span></p>
<p></p>
<span><i class="fa-solid fa-temperature-three-quarters"></i></span>
</div>
<div class="temperature_feels_like temp">
<p>5 <span>o</span><span>c</span></p>
<p></p>
<p>Feels Like</p>
</div>
</div>
</div>
<div class="weather_situation_info" id="weather_situation_info">
<ul class="weather_situation">
<li><iconify-icon icon="mdi:car-brake-low-pressure"></iconify-icon></li>
<li>HUMIDITY <span>(%)</span></li>
<li></li>
<li>23.5</li>
</ul>
<ul class="weather_situation">
<li><iconify-icon icon="carbon:humidity"></iconify-icon></li>
<li>AIR PRESSURE <span>(HPA)</span></li>
<li></li>
<li>1015</li>
</ul>
<ul class="weather_situation">
<li><iconify-icon icon="bi:wind"></iconify-icon></li>
<li>WIND <span>(km/h)</span></li>
<li></li>
<li>8</li>
</ul>
</div>
</div>
</div>
<!-- ------------------------------- FOOTER -------------------------------- -->
<div class="bg-light text-center">
<p class="">© Copyright 2022 Made by <a href="https://github.com/Kritika30032002" class=""> Kritika Gupta </a>
</p>
<a href="https://www.linkedin.com/in/kritika-gupta-343458212" class="btn" type="submit"
style=" border: none; margin-right: 1em;">
<img src="https://img.icons8.com/fluency/48/000000/linkedin.png" height="30px" width="30px"
alt="linkedin_image" />
</a>
<a href="https://github.com/Kritika30032002" class="btn" type="submit" style="border: none;margin-right: 1em;"> <img
src="https://img.icons8.com/fluency/48/000000/github.png" alt="github_image" height="30px" width="30px" />
</a>
</div>
</body>
<script src="/scripts/script.js"></script>
<script src="https://kit.fontawesome.com/54bad8fe75.js" crossorigin="anonymous"></script>
<script src="https://code.iconify.design/iconify-icon/1.0.2/iconify-icon.min.js"></script>
</head>
</html>
<!-- #1C315E -->
<!-- <div class="border border-danger" style="width: 100%; height:60%">
<form class="form-group" action="/" method="post">
<label class="h5" for="cityInput">City Name: </label>
<i class="bi bi-1-square"></i>
<input class="form-control mt-1.5 h-25 input-width" id="cityInput" type="text" name="cityName" />
<button class="btn button mt-2" type="submit">Go</button>
</form>
</div>-->