-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (56 loc) · 1.82 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta tags and title -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather App</title>
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap">
<!-- IconScout -->
<link rel="stylesheet" href="https://unicons.iconscout.com/release/v4.0.0/css/line.css">
<!-- Local stylesheet and script -->
<link rel="stylesheet" href="style.css">
<script type="text/javascript" src="main.js" defer></script>
</head>
<body>
<div class="container">
<!-- Search bar -->
<div class="search">
<i class="uil uil-map-marker search-icon"></i>
<input class="search-input" type="text" placeholder="Enter your location">
<button class="uil uil-search search-button"></button>
</div>
<!-- Invalid window -->
<div class="invalid">
<i class="uil uil-times-circle invalid-icon"></i>
<p>Location not found.</p>
</div>
<!-- Weather summary -->
<div class="summary">
<img class="uil summary-image"></img>
<p class="temperature"></p>
<p class="description"></p>
</div>
<!-- Weather details -->
<div class="details">
<div class="humidity">
<i class="uil uil-tear"></i>
<div class="text">
<span class="humidity-text"></span>
<p>Humidity</p>
</div>
</div>
<div class="wind-speed">
<i class="uil uil-tachometer-fast-alt"></i>
<div class="text">
<span class="wind-speed-text"></span>
<p>Wind speed</p>
</div>
</div>
</div>
</div>
</body>
</html>