-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
86 lines (78 loc) · 3.38 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
81
82
83
84
85
86
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Weather App Forecast</title>
<link rel="stylesheet" href="style.css">
<link rel="shortcut icon" href="favicon.svg" type="image/svg+xml">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="script.js" defer></script>
</head>
<body>
<div class="navbar">
<div class="navcon">
<img src="logo.png" alt="logo">
<h1>Weather</h1>
<h2>Forecast</h2>
</div>
</div>
<div class="container">
<div class="weather-input">
<h3 style="color:rgb(255, 255, 255); font-size: 2em; font-weight: 200;">Enter a City Name</h3>
<input class="city-input" type="text" placeholder="E.g., New York, London, Tokyo">
<button class="search-btn"><i class="fa-solid fa-magnifying-glass"></i> Search</button>
<div class="separator"></div>
<button class="location-btn">
<i class="fa-sharp fa-solid fa-location-crosshairs"></i> Current Location</button>
</div>
<div class="weather-data">
<div class="current-weather">
<div class="details">
<h2></h2>
<h6>°C</h6>
<h5><i class="fa-solid fa-wind"></i> M/S</h5>
<h5><i class="fa-solid fa-droplet"></i> %</h5>
</div>
</div>
<div class="days-forecast">
<h2 style="color:rgb(255, 255, 255); font-size: 2em; font-weight: 200;">5-Day Forecast</h2>
<ul class="weather-cards">
<li class="card">
<h3></h3>
<h6>°C</h6>
<h5><i class="fa-solid fa-wind"></i> M/S</h5>
<h5><i class="fa-solid fa-droplet"></i> %</h5>
</li>
<li class="card">
<h3></h3>
<h6>°C</h6>
<h5><i class="fa-solid fa-wind"></i> M/S</h5>
<h5><i class="fa-solid fa-droplet"></i> %</h5>
</li>
<li class="card">
<h3></h3>
<h6>°C</h6>
<h5><i class="fa-solid fa-wind"></i> M/S</h5>
<h5><i class="fa-solid fa-droplet"></i> %</h5>
</li>
<li class="card">
<h3></h3>
<h6>°C</h6>
<h5><i class="fa-solid fa-wind"></i> M/S</h5>
<h5><i class="fa-solid fa-droplet"></i> %</h5>
</li>
<li class="card">
<h3></h3>
<h6>°C</h6>
<h5><i class="fa-solid fa-wind"></i> M/S</h5>
<h5><i class="fa-solid fa-droplet"></i> %</h5>
</li>
</ul>
</div>
</div>
</div>
</body>
</html>