-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (52 loc) · 2.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather App With Javascript</title>
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"
integrity="sha512-Kc323vGBEqzTmouAECnVceyQqyqdsSiqLQISBL29aUW4U/M7pSPA/gEUZQqv1cwx4OnYxTxve5UMg5GT6L4JJg=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
</head>
<body>
<div class="container">
<div class="header">
<div class="search-box bt">
<input type="text" placeholder="Enter Your Location" class="input-box bt">
<button><i class="fa-sharp-duotone fa-solid fa-magnifying-glass" id="searchBtn"></i></button>
</div>
</div>
<div class="location-not-found">
<h1>Sorry, Location Not Found!!!</h1>
<img src="./images/404.png" alt="404 error">
</div>
<div class="weather-body">
<img src="./images/cloud.png" alt="Weather images" class="weather-img">
<div class="weather-box">
<div id="locations-input"></div>
<p class="temperature">0<sup>°C</sup></p>
<p class="description">light rain</p>
</div>
<div class="weather-details">
<div class="humidity">
<i class="fa-sharp fa-solid fa-droplet"></i>
<div class="text">
<span id="humidity">0%</span>
<p>Humidity</p>
</div>
</div>
<div class="wind">
<i class="fa-sharp fa-solid fa-wind"></i>
<div class="text">
<span id="wind-speed">0 Km/hr</span>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css"></script>
</body>
</html>