-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.php
92 lines (85 loc) · 3.14 KB
/
search.php
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- links -->
<link rel="icon" type="png" href="img/icon.png" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" />
<link rel="stylesheet" href="css/search.css" />
<!-- Title -->
<title>Document</title>
</head>
<body>
<div class="pc">
<!-- nav section -->
<nav>
<ul>
<li><a href="weather.php"><i class="fa-solid fa-location-arrow"></i></a></li>
<li><a class="active" href="search.php"><i class="fa-solid fa-magnifying-glass"></i></a></li>
<li><a href="world.php"><i class="fa-solid fa-earth-americas"></i></a></li>
</ul>
</nav>
<!-- main section -->
<h3>Search For City</h3>
<!-- search -->
<div class="search">
<div class="search-icon"><i class="fa-solid fa-location-dot"></i></div>
<input class="searchinput" type="text" placeholder="search...">
</div>
<!-- message -->
<div class="message">
<p>You have the option to search by city, state, or country names.</p>
</div>
<!-- error message -->
<div class="error-message">
<p>One of the specified locations (city, state, or country) was not found. Please try again</p>
</div>
<!-- weather -->
<div class="return">
<div class="box">
<div class="weather-box">
<div class="name">
<div class="city-name">Landon</div>
<div class="weather-temp">20°</div>
</div>
<div class="weather-icon"><img class="weather-img" src="img/haze.png" alt=""></div>
</div>
<!-- 1 -->
<div class="weather-desc">
<div class="desc-box">
<div class="desc-icon"><i class="fa-solid fa-wind"></i></div>
<div class="desc-name">Wind</div>
<div class="desc-info wind">15 m/s</div>
</div>
<div class="desc-box">
<div class="desc-icon"><i class="fa-solid fa-temperature-full"></i></div>
<div class="desc-name">Pressure</div>
<div class="desc-info pressure">15 mbar</div>
</div>
<div class="desc-box">
<div class="desc-icon"><i class="fa-solid fa-droplet"></i></div>
<div class="desc-name">Humidity</div>
<div class="desc-info humidity">50%</div>
</div>
</div>
<!-- 2 -->
<div class="weather-desc">
<div class="desc-box">
<div class="desc-icon"><i class="fa-solid fa-sun"></i></div>
<div class="desc-name">Sun Rise</div>
<div class="desc-info sunrise">12:00:00</div>
</div>
<div class="desc-box">
<div class="desc-icon"><i class="fa-solid fa-cloud-sun"></i></div>
<div class="desc-name">Sun Set</div>
<div class="desc-info sunset">12:00:00</div>
</div>
</div>
</div>
</div>
</div>
<!-- main.js -->
<script src="js/search.js"></script>
</body>
</html>