-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (62 loc) · 2.47 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title class="appTitle">Weather App - Javascript - @tejxv</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" type="text/javascript" href="https://unpkg.com/[email protected]/dest/tilt.jquery.min.js">
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="flexbox">
<div data-tilt data-tilt-scale="1.2" data-tilt-speed="500" data-tilt-max="0" id="dark-mode-toggle">🔆</div>
<div data-tilt data-tilt-scale="1" data-tilt-speed="1000" data-tilt-max="2" class="container">
<div class="weather-container">
<div class="location">
<p></p>
<div class="country">
</div>
<div class="weather-icon">
<img src="icons/unknown.png" alt="">
</div>
</div>
<div id="currentTime">
<p></p>
</div>
<div class="temperature-value">
<p>X°<span>C</span></p>
<div class="temperature-description">
<p></p>
</div>
</div>
<div class="feels-like">
<p></p>
</div>
<div class="HandL">
<p><small><a href="https://instagram.com/tejxv" target="blank">@tejxv</a></small><p>
</div>
<div class="humidity">
<p><strong>Allow location permission to fetch weather</strong></p>
</div>
<div class="windspeed">
<p></p>
</div>
<div class="notification">
</div>
</div>
<div class="unitToggle-container">
<label class="switch">
<input type="checkbox">
<span id="unitToggle" class="slider">
<div>°C</div>
<div>°F</div>
</span>
</label>
</div>
</div>
</div>
<script src="app.js"></script>
<script src="https://gijsroge.github.io/tilt.js/js/jquery.slim.min.js"></script>
<script src="https://unpkg.com/[email protected]/dest/tilt.jquery.min.js"></script>
</body>
</html>