-
Notifications
You must be signed in to change notification settings - Fork 70
/
index.html
87 lines (74 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
<!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">
<link rel="stylesheet" href="style.css">
<title>Weather App</title>
</head>
<body>
<div class="container">
<div class="current-info">
<div class="date-container">
<div class="time" id="time">
12:30 <span id="am-pm">PM</span>
</div>
<div class="date" id="date">
Monday, 25 May
</div>
<div class="others" id="current-weather-items">
</div>
</div>
<div class="place-container">
<div class="time-zone" id="time-zone">Asia/Kolkata</div>
<div id="country" class="country">IN</div>
</div>
</div>
</div>
<div class="future-forecast">
<div class="today" id="current-temp">
<img src="http://openweathermap.org/img/wn/[email protected]" alt="weather icon" class="w-icon">
<div class="other">
<div class="day">Monday</div>
<div class="temp">Night - 25.6° C</div>
<div class="temp">Day - 35.6° C</div>
</div>
</div>
<div class="weather-forecast" id="weather-forecast">
<div class="weather-forecast-item">
<div class="day">Tue</div>
<img src="http://openweathermap.org/img/wn/[email protected]" alt="weather icon" class="w-icon">
<div class="temp">Night - 25.6° C</div>
<div class="temp">Day - 35.6° C</div>
</div>
<div class="weather-forecast-item">
<div class="day">Wed</div>
<img src="http://openweathermap.org/img/wn/[email protected]" alt="weather icon" class="w-icon">
<div class="temp">Night - 25.6° C</div>
<div class="temp">Day - 35.6° C</div>
</div>
<div class="weather-forecast-item">
<div class="day">Thur</div>
<img src="http://openweathermap.org/img/wn/[email protected]" alt="weather icon" class="w-icon">
<div class="temp">Night - 25.6° C</div>
<div class="temp">Day - 35.6° C</div>
</div>
<div class="weather-forecast-item">
<div class="day">Fri</div>
<img src="http://openweathermap.org/img/wn/[email protected]" alt="weather icon" class="w-icon">
<div class="temp">Night - 25.6° C</div>
<div class="temp">Day - 35.6° C</div>
</div>
<div class="weather-forecast-item">
<div class="day">Sat</div>
<img src="http://openweathermap.org/img/wn/[email protected]" alt="weather icon" class="w-icon">
<div class="temp">Night - 25.6° C</div>
<div class="temp">Day - 35.6° C</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js" integrity="sha512-qTXRIMyZIFb8iQcfjXWCO8+M5Tbc38Qi5WzdPOYZHIlZpzBHG3L3by84BBBOiRGiEb7KKtAOAs5qYdUiZiQNNQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="script.js"></script>
</body>
</html>