-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
52 lines (49 loc) · 1.8 KB
/
index.html
File metadata and controls
52 lines (49 loc) · 1.8 KB
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
<!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="icon" href="weatherImages/favicon-1.png">
<link rel="stylesheet" href="style.css?v=2">
<link
href="https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Exo+2:wght@400;600&family=Lato:wght@400;700&family=Nunito+Sans:wght@600&display=swap"
rel="stylesheet">
</head>
<body>
<div class="card" id="js-card">
<div class="search">
<input type="text" placeholder="Enter city name" spellcheck="false">
<button><img src="weatherImages/search.png" alt="search-png" class="search-btn"></button>
</div>
<div class="weather-img" id="js-weather">
<img src="weatherImages/clouds.png" alt="clouds" class="weather-icon">
<h1 class="temp">22°C</h1>
<h2 class="city">New York</h2>
<div class="details">
<div class="col">
<img src="weatherImages/humidity.png" alt="humiditity">
<div>
<p class="humidity">50%</p>
<p>Humidity</p>
</div>
</div>
<div class="col">
<img src="weatherImages/wind.png" alt="wind">
<div>
<p class="wind">20 km/hr </p>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
</div>
<div class="city-container">
<span id="msg">Please Enter Your City Name</span>
</div>
<div class="loader-container" id="loader">
<div class="loader"></div>
</div>
<script src="script.js"></script>
</body>
</html>