-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
116 lines (115 loc) · 3.72 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
<!DOCTYPE html>
<html lang="de" dir="ltr">
<head>
<meta charset="utf-8" />
<title>Wetter App</title>
<link rel="stylesheet" href="style.css" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script
src="https://kit.fontawesome.com/64d58efce2.js"
crossorigin="anonymous"
></script>
</head>
<body>
<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">Heute</button>
<button class="week active">Woche</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">Heute 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">Leicht</p>
</div>
</div>
<div class="card2">
<h4 class="card-heading">Wind</h4>
<div class="content">
<p class="wind-speed">0</p>
<p>km/h</p>
</div>
</div>
<div class="card2">
<h4 class="card-heading">Sonnenaufgang & Untergang</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">Luftfeuchtigkeit</h4>
<div class="content">
<p class="humidity">0</p>
<p class="humidity-status">Normal</p>
</div>
</div>
<div class="card2">
<h4 class="card-heading">Sichtbarkeit</h4>
<div class="content">
<p class="visibilty">0</p>
<p class="visibilty-status">Normal</p>
</div>
</div>
<div class="card2">
<h4 class="card-heading">Luft Qualität</h4>
<div class="content">
<p class="air-quality">0</p>
<p class="air-quality-status">Normal</p>
</div>
</div>
</div>
</div>
</div>
</div>
<script type="module" src="script.js"></script>
</body>
</html>