-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
36 lines (36 loc) · 1.2 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
<!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="styles.css">
</head>
<body>
<h1 class="app-title">Weather Tracker</h1>
<div class="container">
<h1 class="title">Weather</h1>
<div class="search-box">
<input type="text" id="location-input" placeholder="Enter location">
<button id="search-button">Get Weather</button>
</div>
<div id="weather-info" class="weather-info">
<h2 id="location-name"></h2>
<div class="weather-details">
<div class="left-column">
<img id="weather-icon" src="" alt="Weather Icon">
<p id="temperature"></p>
<p id="description"></p>
</div>
<div class="right-column">
<p id="humidity"></p>
<p id="wind-speed"></p>
<p id="sunrise"></p>
<p id="sunset"></p>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>