-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
44 lines (39 loc) ยท 1.63 KB
/
index.html
File metadata and controls
44 lines (39 loc) ยท 1.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="A weather detection site that provides real-time weather updates for any city.">
<meta name="keywords" content="weather, weather detection, city weather, real-time weather, weather API">
<meta name="author" content="Sandip Ghosh">
<link rel="icon" href="https://images.unsplash.com/photo-1504384308090-c894fdcc538d?crop=entropy&cs=tinysrgb&fit=max&fm=jpg&ixid=MnwzNjUyOXwwfDF8c2VhcmNofDIxfHx3ZWF0aGVyfGVufDB8fHx8MTY5MTY0NzE0MA&ixlib=rb-4.0.3&q=80&w=1080" type="image/x-icon">
<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=Roboto:wght@400;500&display=swap" rel="stylesheet">
<!-- โ
Local CSS -->
<link rel="stylesheet" href="style.css">
<title>Clima-Sense</title>
</head>
<body>
<div class="title">
<h1>CLIMA-SENSE</h1>
<p>Precision Forecasting at Your Fingertips</p>
</div>
<div class="container">
<h2>Weather</h2>
<div class="weather">
<input type="text" id="cityInput" placeholder="Enter city name">
<button id="getWeatherBtn">Get Weather</button>
<div id="weatherResult" class="hidden">
<h3 id="cityName"></h3>
<p id="weatherCondition"></p>
<p id="temperature"></p>
<p id="humidity"></p>
</div>
</div>
</div>
<!-- โ
Local JS -->
<script src="script.js"></script>
</body>
</html>