-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
80 lines (65 loc) · 2.43 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minimal Weather App</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div class="header">
<div class="search-box">
<input type="text" placeholder="Enter City" class="input-box">
<button class="fa-solid fa-magnifying-glass" id="searchbtn"></button>
</div>
</div>
<div class="notfound">
<h1>Location not found. Please enter correct city name</h1>
<img src="./img/error-img.png" alt="location not found.">
</div>
<div class="weather-body">
<img src="./img/01d.svg" alt="Weather-img" class="weather-img" draggable="false">
<div class="weather-box">
<p class="temp">0<sup>°C</sup></p>
<p class="desc">Unknown</p>
<p class="city-name"></p>
</div>
<div class="weather-details">
<div class="humidity">
<i class="fa-solid fa-temperature-three-quarters"></i>
<div class="text">
<span id="feels-like">00</span>
<p>feels-like</p>
</div>
</div>
<div class="wind">
<i class="fa-solid fa-fire-flame-simple"></i>
<div class="text">
<span id="pressure">00</span>
<p>pressure</p>
</div>
</div>
</div>
<div class="weather-details">
<div class="humidity">
<i class="fa-solid fa-droplet"></i>
<div class="text">
<span id="humidity">00</span>
<p>humidity</p>
</div>
</div>
<div class="wind">
<i class="fa-solid fa-wind"></i>
<div class="text">
<span id="wind-speed">00</span>
<p>wind</p>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
<script src="https://kit.fontawesome.com/f700ad15b4.js" crossorigin="anonymous"></script>
</body>
</html>