-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
79 lines (77 loc) · 2.49 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
67
68
69
70
71
72
73
74
75
76
77
78
79
<!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">
<title>Weather</title>
</head>
<body>
<div class="search">
<div>Weather</div>
<button id="curr-location"><img src="./icons/location.png">Your Location</button>
<div id="search-auto">
<input type="search" placeholder="Search" class="search-box" id="search-box-pc" autocomplete="off">
</div>
</div>
<div class="app day-clear">
<div id="search-auto-mobile">
<input type="search" placeholder="Search" class="search-box" id="search-box-mobile" autocomplete="off">
</div>
<div class="current-weather">
<div id="city"></div>
<img src="" id="icon">
<div id="main-desc"></div>
<div id="curr-temp"></div>
</div>
<section>
<div class="other-info">
<span>
<p id="description"></p>
Description
</span>
<span>
<p id="feels-like"></p>
Feels like
</span>
<span>
<p id="sunrise"></p>
Sunrise
</span>
<span>
<p id="sunset"></p>
Sunset
</span>
<span>
<p id="max-temp"></p>
Max Temp
</span>
<span>
<p id="min-temp"></p>
Min Temp
</span>
</div>
<div class="circular-stats">
<svg>
<circle id="humidity" class="stats-layout" r="90px" cx="100" cy="100"></circle>
<circle id="humidity-stat" r="90px" cx="100" cy="100"></circle>
<circle class="stats-layout" r="90px" cx="300" cy="100"></circle>
<circle id="uvi-stat" r="90px" cx="300" cy="100"></circle>
</svg>
<span id="humidity-text">Humidity</span>
<span id="uvi-text">UVI</span>
<span id="humidity-data"></span>
<span id="uvi-data"></span>
</div>
<div class="alert">
<span>Alert</span>
<p id="alert-data"></p>
</div>
</section>
</div>
</body>
<script src="spott.js"></script>
<script src="api_key.js"></script>
<script src="script.js"></script>
</html>