-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
54 lines (52 loc) · 2.36 KB
/
index.html
File metadata and controls
54 lines (52 loc) · 2.36 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
53
54
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" integrity="sha512-DTOQO9RWCH3ppGqcWaEA1BIZOC6xxalwEsw9c2QQeAIftl+Vegovlnee1c9QX4TctnWMn13TZye+giMm8e2LwA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="./style.css">
<script src="./script.js" defer></script>
<title>Weather App</title>
</head>
<body>
<nav>
<div class="nav-wrapper">
<i class="fa-solid fa-cloud"></i>
<h1>Weather App</h1>
<a href="https://github.com/monukd01dev/JavaScript-mini-projects/tree/master/02-weather-app" target="_blank"><i class="fa-brands fa-github"></i></a>
</div>
</nav>
<div class="card">
<div class="search">
<input type="text" id="city-input" placeholder="enter city name">
<button class="search-city"><i class="fa-solid fa-magnifying-glass"></i></button>
</div>
<div class="error">
<p>Invalid city name</p>
</div>
<div class="weather">
<img src="./images/clear.png" class="weather-icon">
<h1 class="temp">22°c</h1>
<h2 class="city-name">new york</h2>
<div class="details">
<div class="col col-1">
<img src="./images/humidity.png" >
<div class="div">
<p class="humidity">50%</p>
<p>Humidity</p>
</div>
</div>
<div class="col col-2">
<img src="./images/wind.png" alt="">
<div class="div">
<p class="wind">50 km/h</p>
<p>Wind Speed</p>
</div>
</div>
</div>
</div>
</div>
<button class="mode"><i class="fa-solid fa-sun"></i> <span class="mode-name">Light Mode</span></button>
</body>
</html>