-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (42 loc) · 1.83 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
37
38
39
40
41
42
43
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather App - by Raju Webdev</title>
<link rel="icon" type="image/x-icon" href="/Images/favicon.png">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<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=Poppins:wght@500&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- Main Container for the weather web app -->
<div class="weatherContainer">
<h2 class="appHeading"> Weather App </h2>
<!-- Input Divition for city name -->
<div class="search">
<form action="" id="weatherForm">
<input type="text" name="" id="weatherInput" placeholder="Enter your city here...">
<button class="searchBtn" type="submit">
<ul>
<li><i class="fa-solid fa-magnifying-glass"></i></li>
</ul>
</button>
</form>
</div>
<!-- Outut Will show on the screen -->
<h2 id="city"></h2>
<img src="." alt="" id="weatherImage">
<p class="weatherMain" id="weatherMain"></p>
<h2 id="temp"><span class="temp"></span></h2>
<div class="todayDates"></div>
<div id="todayTime"></div>
</div>
</body>
<script src="script.js"></script>
</html>