-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
59 lines (55 loc) · 2.78 KB
/
Copy pathindex.html
File metadata and controls
59 lines (55 loc) · 2.78 KB
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">
<title>Best weather widget</title>
<meta name="description" content="Simple weather widget based on OWM API">
<meta name="keywords" content="weather, OWM, widget">
<meta name="author" content="Richard Aljaste">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="icon" href="img/favicon.png" type="image/x-icon" />
<link rel="apple-touch-icon" href="img/favicon.png">
<link rel="stylesheet" type='text/css' href="css/style.min.css">
<link rel="stylesheet" type='text/css' href="css/weather-icons.min.css">
<link href="font/weathericons-regular-webfont.eot" rel="stylesheet" type='text/css'>
<link href="font/weathericons-regular-webfont.svg" rel="stylesheet" type='text/css'>
<link href="font/weathericons-regular-webfont.ttf" rel="stylesheet" type='text/css'>
<link href="font/weathericons-regular-webfont.woff" rel="stylesheet" type='text/css'>
<link href="font/weathericons-regular-webfont.woff2" rel="stylesheet" type='text/css'>
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet" type='text/css'>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" type='text/css'>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
</head>
<body>
<div class="container">
<div class="location">
<input class="city" type="text" placeholder="City" autocomplete="off" name="city"><i onclick="city()"
onkeypress="city()" class="material-icons search_icon">search</i>
<br>or
<h2>use my <a onclick="geoLoc()" onkeypress="geoLoc()" class="current_pos">current position</a></h2>
</div>
<div class="weather">
<i onclick="back()" onkeypress="back()" class="material-icons back-arrow">arrow_back</i>
<h1 id="city"></h1>
<div class="unitSwitch">
<input type="checkbox" name="unitSwitch" class="unitSwitch-checkbox" id="unitSwitch" checked>
<label class="unitSwitch-label" for="unitSwitch">
<span class="unitSwitch-inner"></span>
<span class="unitSwitch-switch"></span>
</label>
</div>
<h2 id="date"></h2>
<h3 id="current"></h3>
<div class="current_data">
<h2 id="current_temp"></h2>
<ul class="useful_data value_name"></ul>
<ul class="useful_data values"></ul>
</div>
<ul class="day"></ul>
</div>
</div>
<script src="js/weather_data.js"></script>
<script src="js/back_button.js"></script>
</body>
</html>