-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
31 lines (26 loc) · 954 Bytes
/
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>weather-widget</title>
<meta name="description" content="weather-widget">
<meta name="author" content="Farhan Kathawala">
<link rel="stylesheet" href="styles.css">
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css">
</head>
<body class="bg">
<div id="fkweatherwidget" style="position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%);"></div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.js"></script>
<script>
const fkweatherwidget = {
elemId: 'fkweatherwidget',
hourlyRefreshSeconds: 60 * 60,
weeklyRefreshSeconds: 60 * 60,
lat: 35.1056,
lng: -90.007,
}
</script>
<script src="weather-widget.js"></script>
</body>
</html>