-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
121 lines (116 loc) · 4.61 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
111
112
113
114
115
116
117
118
119
120
121
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Weather Prediction App</title>
<script src="https://kit.fontawesome.com/64d58efce2.js" crossorigin="anonymous"></script>
<link rel="stylesheet" href="./style.css">
</head>
<body>
<!-- partial:index.partial.html -->
<div class="wrapper">
<div class="sidebar">
<div>
<form class="search" id="search">
<input type="text" id="query" placeholder="Search..." />
<button><i class="fas fa-search"></i></button>
</form>
<div class="weather-icon">
<img id="icon" src="icons/sun/4.png" alt="" />
</div>
<div class="temperature">
<h1 id="temp">0</h1>
<span class="temp-unit">°C</span>
</div>
<div class="date-time">
<p id="date-time">Monday, 12:00</p>
</div>
<div class="divider"></div>
<div class="condition-rain">
<div class="condition">
<i class="fas fa-cloud"></i>
<p id="condition">condition</p>
</div>
<div class="rain">
<i class="fas fa-tint"></i>
<p id="rain">perc - 0%</p>
</div>
</div>
</div>
<div class="location">
<div class="location-icon">
<i class="fas fa-map-marker-alt"></i>
</div>
<div class="location-text">
<p id="location">location</p>
</div>
</div>
</div>
<div class="main">
<nav>
<ul class="options">
<button class="hourly">today</button>
<button class="week active">week</button>
</ul>
<ul class="options units">
<button class="celcius active">°C</button>
<button class="fahrenheit">°F</button>
</ul>
</nav>
<div class="cards" id="weather-cards"></div>
<div class="highlights">
<h2 class="heading">today's highlights</h2>
<div class="cards">
<div class="card2">
<h4 class="card-heading">UV Index</h4>
<div class="content">
<p class="uv-index">0</p>
<p class="uv-text">Low</p>
</div>
</div>
<div class="card2">
<h4 class="card-heading">Wind Status</h4>
<div class="content">
<p class="wind-speed">0</p>
<p>km/h</p>
</div>
</div>
<div class="card2">
<h4 class="card-heading">Sunrise & Sunset</h4>
<div class="content">
<p class="sun-rise">0</p>
<p class="sun-set">0</p>
</div>
</div>
<div class="card2">
<h4 class="card-heading">Humidity</h4>
<div class="content">
<p class="humidity">0</p>
<p class="humidity-status">Normal</p>
</div>
</div>
<div class="card2">
<h4 class="card-heading">Visibility</h4>
<div class="content">
<p class="visibilty">0</p>
<p class="visibilty-status">Normal</p>
</div>
</div>
<div class="card2">
<h4 class="card-heading">Air Quality</h4>
<div class="content">
<p class="air-quality">0</p>
<p class="air-quality-status">Normal</p>
</div>
</div>
</div>
</div>
<p class="credits">Crafted with ❤️ by <a
href="https://www.youtube.com/playlist?list=PLDIMurMuSBAnv_5Z7n3QjAfQ_A3RWuofk">sudheer chowdari
kodali</a></p>
</div>
</div>
<!-- partial -->
<script src="./script.js"></script>
</body>
</html>