-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
33 lines (33 loc) · 1.02 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
<!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">
</head>
<body>
<div class="container">
<h1>Weather App</h1>
<h1>By Preetham</h1>
<input type="text" id="locationName" placeholder="Enter a location">
<button id="searchButton">Search</button>
<div class="weather-info">
<div class="text">
<div>Location: </div>
<div>Temperature: </div>
<div>Description: </div>
<div>Coordinates: </div>
</div>
<div class="view">
<div id="location"></div>
<div id="temperature"></div>
<div id="description"></div>
<div id="coordinates"></div>
</div>
</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>