-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
82 lines (75 loc) · 2.75 KB
/
index.html
File metadata and controls
82 lines (75 loc) · 2.75 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
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<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=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<title>Weather App</title>
</head>
<body>
<div class="app-container">
<h1>Weather App</h1>
<div class="search">
<input type="text" name="city" id="cityInput" placeholder="Enter city name">
<button type="button" id="searchButton">Search</button>
</div>
<div class="weather-info">
<div class="main-details">
<img class="weather-icon" src="" alt="">
<div class="main-info">
<h4 id="city"></h4>
<h2 id="temperature"></h2>
<p id="description"></p>
</div>
<div class="temp-info">
<p id="max-temp"></p>
<p id="min-temp"></p>
</div>
</div>
<div class="information">
<div class="details">
<img src="./assets/sunrise.png" alt="">
<div>
<p id="sunrise"></p>
<p>Sunrise</p>
</div>
</div>
<div class="details">
<img src="./assets/sunset.png" alt="">
<div>
<p id="sunset"></p>
<p>Sunset</p>
</div>
</div>
<div class="details">
<img src="./assets/wind.png" alt="">
<div>
<p id="wind"></p>
<p>WindSpeed</p>
</div>
</div>
<div class="details">
<img src="./assets/humidity.png" alt="">
<div>
<p id="humidity"></p>
<p>Humidity</p>
</div>
</div>
<div class="details">
<img src="./assets/pressure.png" alt="">
<div>
<p id="pressure"></p>
<p>Pressure</p>
</div>
</div>
</div>
</div>
<div id="forecastContainer"></div>
</div>
<script src="app.js"></script>
</body>
</html>