-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
27 lines (27 loc) · 1.04 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather Updates</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" />
<link rel="stylesheet" href="styles.css">
</head>
<body>
<header>
<h1>Weather Updates</h1>
</header>
<main>
<div class="input-container">
<input type="text" id="city-input" placeholder="Enter a city name...">
<button onclick="getWeatherData()">Get Weather Data</button>
</div>
<div id="weather-data" class="animate__animated animate__fadeIn"></div>
</main>
<footer>
<p>Coded and created by Mohsin Malikk. <a href="https://github.com/Mohsinnmalik">My GitHub profile</a></p>
</footer>
<script src="script.js"></script>
</body>
</html>