-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
66 lines (53 loc) · 2.52 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#0033ff">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#0033ff">
<link href="./leaflet/leaflet.css" rel="stylesheet"/>
<script src="./leaflet/leaflet.js"></script>
<link href="https://unpkg.com/[email protected]/dist/leaflet.css" integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ==" crossorigin="" rel="stylesheet"/>
<script src="https://unpkg.com/[email protected]/dist/leaflet.js" integrity="sha512-GffPMF3RvMeYyc1LWMHtK8EbPv0iNZ8/oTtHPx9/cc2ILxQ+u905qIwdpULaqDkyBKgOaB57QTMg7ztg8Jm2Og==" crossorigin=""></script>
<link href="https://fonts.googleapis.com/css?family=Righteous|Lato:300" rel="stylesheet">
<link href='https://use.fontawesome.com/releases/v5.7.0/css/all.css' rel="stylesheet" integrity='sha384-lZN37f5QGtY3VHgisS14W3ExzMWZxybE1SJSEsQp9S+oqd12jhcu+A56Ebc1zFSJ' crossorigin='anonymous'>
<link href="./css/style.css" rel="stylesheet">
<title>Local Weather</title>
</head>
<body>
<header>
<div class="container">
<h1>Weather</h1>
<p id="dspDateTime">MM/DD/YYYY, 00:00:00 AM/PM</p>
</div>
</header>
<section>
<div class="container">
<p><a href="#" id="dspLoc" title="Click to show/hide map">Location...</a></p>
<img class="dspIcon" src="#" alt="weather icon">
<p id="dspWeather">Weather condition...</p>
<div class="flexi-temp">
<p id="dspTemp"><span id="dspTempValue"></span>°<span id="dspTempUnit">C</span></p>
<button id="dspButton" onclick="convertTemp()" value="degC">°F</button>
</div>
<div class="flexi-sun">
<p id="dspSunrise"><i class="fas"></i> <span id="dspSunriseTime">00:00 AM </span></p>
<p id="dspSunset"><i class="far"></i> <span id="dspSunsetTime">00:00 PM</span></p>
</div>
<p id="dspWind"><i class="fas"></i> <span id="dspWindValue">0</span> m/s</p>
<div id="dspMap">Map...</div>
</div>
</section>
<footer>
<div class="container">
<p>Created by lleander</p>
<p>Powered by <a href="http://OpenWeatherMap.org" target="_blank">OpenWeatherMap.org</a></p>
</div>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<!--script src="https://www.l2.io/ip.js?var=myip"></script-->
<script src="./js/localweather.js"></script>
</body>
</html>