-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (54 loc) · 2.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather App</title>
<link rel="stylesheet" href="style.css">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap" rel="stylesheet">
</head>
<body>
<div class="card">
<div class="search">
<input type="text" placeholder="Enter City Name" spellcheck="false">
<button><img src="images/search.png"></button>
</div>
<div class="error">
<p>Invalid City Name</p>
</div>
<div class="weather">
<img src="images/rain.png" class = "weather-icon">
<p class="forecast">Clear</p>
<h1 class="temp">22°C</h1>
<h2 class="city">New York</h2>
<p class="date"></p>
<div class="details">
<div class="col">
<img src="images/temperature.png">
<div>
<p class="feels">28°C</p>
<p>Feels Like</p>
</div>
</div>
<div class="col">
<img src="images/humidity.png">
<div>
<p class="humidity">50%</p>
<p>humidity</p>
</div>
</div>
<div class="col">
<img src="images/wind.png">
<div>
<p class="wind">15km/h</p>
<p>Wind</p>
</div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>