-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
110 lines (97 loc) · 3.42 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!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</title>
<link rel="stylesheet" href="weather.css">
</head>
<body>
<div class="header">
<h1>WEATHER APP</h1>
<div>
<input type="text" name="" id="input" placeholder="Enter city name">
<button id="search" onclick="searchByCity()">Search</button></input>
</div>
</div>
<main>
<div class="weather">
<h2 id="city">Delhi,IN</h2>
<div class="temp-box">
<img src="/weathericon.png" alt="" id="img">
<p id="temperature">26 °C</p>
</div>
<span id="clouds">Broken Clouds</span>
</div>
<div class="divider1"></div>
<div class="forecstH">
<p class="cast-header">Upcoming forecast</p>
<div class="templist">
<div class="next">
<div>
<p class="time">8:30 PM</p>
<p>29 °C / 29 °C</p>
</div>
<p class="desc">Light Rain</p>
</div>
<div class="next">
<div>
<p class="time">8:30 PM</p>
<p>29 °C / 29 °C</p>
</div>
<p class="desc">Light Rain</p>
</div>
<div class="next">
<div>
<p class="time">8:30 PM</p>
<p>29 °C / 29 °C</p>
</div>
<p class="desc">Light Rain</p>
</div>
<div class="next">
<div>
<p class="time">8:30 PM</p>
<p>29 °C / 29 °C</p>
</div>
<p class="desc">Light Rain</p>
</div>
<div class="next">
<div>
<p class="time">8:30 PM</p>
<p>29 °C / 29 °C</p>
</div>
<p class="desc">Light Rain</p>
</div>
</div>
</div>
</main>
<div class="forecstD">
<div class="divider2"></div>
<p class="cast-header"> Next 4 days forecast</p>
<div class="weekF">
<div class="dayF">
<p class="date">Sun Jul 03 2022</p>
<p>31 °C / 31 °C</p>
<p class="desc">Overcast Clouds</p>
</div>
<div class="dayF">
<p class="date">Sun Jul 03 2022</p>
<p>31 °C / 31 °C</p>
<p class="desc">Overcast Clouds</p>
</div>
<div class="dayF">
<p class="date">Sun Jul 03 2022</p>
<p>31 °C / 31 °C</p>
<p class="desc">Overcast Clouds</p>
</div>
<div class="dayF">
<p class="date">Sun Jul 03 2022</p>
<p>31 °C / 31 °C</p>
<p class="desc">Overcast Clouds</p>
</div>
</div>
</div>
<script src="/weather.js"></script>
</body>
</html>