-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (62 loc) · 2.05 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
<!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>Wetter App</title>
<link rel="stylesheet" href="./assets/css/style.css">
</head>
<body>
<section>
<!-- <input id="countryInput" type="text" placeholder="Country"> -->
<div id="search">
<input id="cityInput" type="text" placeholder="Wie ist das Wetter in?">
<button type="button" onclick="showWeather()">🔍</button>
</div>
<div>
<h1 id="headerH1">Wetter in <span id="city"></span><span id="localeTime"></span></h1>
<div id="tempDiv">
<img id="imgOut" src="http://openweathermap.org/img/wn/01d@2x.png" alt="">
<p id="temperatur">--<span> °C</span></p>
</div>
<p id="description"></p>
<table>
<!-- <tr>
<th>Local Time</th>
<td id="localeTime"></td>
</tr> -->
<tr>
<th>Wind</th>
<td id="wind"></td>
</tr>
<tr>
<th>Wolken</th>
<td id="cloudiness"></td>
</tr>
<tr>
<th>Druck</th>
<td id="pressure"></td>
</tr>
<tr>
<th>Luftfeuchtigkeit</th>
<td id="humidity"></td>
</tr>
<tr>
<th>Sonnenaufgang</th>
<td id="sunrise"></td>
</tr>
<tr>
<th>Sonnenuntergang</th>
<td id="sunset"></td>
</tr>
<tr>
<th>GeoKoordinaten</th>
<td id="geocords"></td>
</tr>
</table>
</div>
</section>
<script src="./assets/js/main.js"></script>
</body>
</html>