-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
66 lines (62 loc) · 2.33 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>WeatherNOW</title>
<link rel="icon" href="Assets/Weather_icon.jpeg" type="image/x-icon" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"
integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<div class="container">
<h1 class="logo">
<img src="Assets/icon.png" alt="logo" /> WeatherNOW ♥
</h1>
<!-- 1 -->
<div class="header">
<div class="search-box">
<input type="text" name="input" placeholder="Enter your Location" class="input-box" />
<button class="fa-solid fa-magnifying-glass" id="searchBtn"></button>
</div>
</div>
<!-- error image -->
<div class="location-not-found">
<h1>Sorry, Location not found!!!</h1>
<img src="Assets/404.png" alt="404 Error" />
</div>
<!-- 2 -->
<div class="weather-body">
<!-- a -->
<img src="Assets/cloud.png" alt="Weather-image" class="weather-image" />
<!-- b -->
<div class="weather-box">
<p class="temperature">0<sup>°C</sup></p>
<p class="description">Light Rain</p>
</div>
<!-- c -->
<div class="weather-details">
<!-- i -->
<div class="humidity">
<i class="fa-sharp fa-solid fa-droplet"></i>
<div class="text">
<span id="humidity">45%</span>
<p>humidity</p>
</div>
</div>
<!-- ii -->
<div class="wind">
<i class="fa-solid fa-wind"></i>
<div class="text">
<span id="windspeed">12Km/H</span>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>