-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
71 lines (66 loc) · 2.16 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&family=Roboto:wght@300;400;500;700;900&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="style.css" />
<title>Weather App by Rachmat Ghaly</title>
</head>
<body>
<video autoplay muted loop id="myVideo">
<source src="assets/videos/animate-weather.mp4" type="video/mp4" />
Your browser does not support HTML5 video.
</video>
<main class="container">
<div class="search">
<i class="fa-sharp fa-solid fa-location-dot"></i>
<input type="text" placeholder="Enter your location" />
<button class="fa-solid fa-magnifying-glass"></button>
</div>
<div class="location-not-found">
<lottie-player
src="https://assets4.lottiefiles.com/packages/lf20_m6k6uhad.json"
background="transparent"
speed="1"
style="width: 300px; height: 300px"
loop
autoplay
></lottie-player>
<p>Oops! Location is not Found :(</p>
</div>
<div class="weather-box">
<img src="" alt="" />
<p class="temperature"></p>
<p class="description"></p>
</div>
<div class="weather-details">
<div class="wind">
<i class="fa-solid fa-wind"></i>
<div class="text">
<span></span>
<p>Wind Speed</p>
</div>
</div>
<div class="humidity">
<i class="fa-solid fa-water"></i>
<div class="text">
<span></span>
<p>Humidity</p>
</div>
</div>
</div>
<p class="copyright">Created by Rachmat Ghaly</p>
</main>
<script src="https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js"></script>
<script
src="https://kit.fontawesome.com/0ae515efac.js"
crossorigin="anonymous"
></script>
<script src="index.js"></script>
</body>
</html>