forked from patlov/weatherAppJS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (56 loc) · 1.7 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
<!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" >
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.5.0/Chart.min.js"></script>
<title>Weather App</title>
</head>
<body>
<div id="weather-app">
<div>
<input type="text" id="city-input" placeholder="London">
<button id="search-button">Search</button>
</div>
<div id="container">
<div id="left-side">
<div id="weather-data">
<p id="city">Vienna Weather</p>
<p id="date"></p>
<div id="iconTemp">
<img src="" id="weatherImg">
<p id="temperature"></p>
</div>
<div class="feelType">
<p id="weathertype"></p>
<p id="feelsLike"></p>
</div>
<div id="detailsContainer">
<div>
Humidity:
<p id="humidity"></p>
</div>
<div>
Windspeed:
<p id="windspeed"></p>
</div>
</div>
</div>
</div>
<div id="right-side">
<canvas id="chart"></canvas>
<div id="tabs">
<button class="tab" id="tab-1">Day 1</button>
<button class="tab" id="tab-2">Day 2</button>
<button class="tab" id="tab-3">Day 3</button>
<button class="tab" id="tab-4">Day 4</button>
</div>
</div>
</div>
</div>
<script src="utils.js" type="module" ></script>
<script src="weather.js" type="module" ></script>
</body>
</html>