-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
84 lines (74 loc) · 3.76 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
80
81
82
83
84
<!doctype html>
<html class="no-js" 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" />
<title>Weather Map</title>
<!-- Foundation start -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/foundation.min.css"
crossorigin="anonymous">
<!-- Foundation End -->
<link rel="stylesheet" href="styles.css">
<!-- Windy API Start-->
<script src="https://unpkg.com/[email protected]/dist/leaflet.js"></script>
<script src="https://api.windy.com/assets/map-forecast/libBoot.js"></script>
<!-- Windy API End -->
</head>
<body>
<div class="card" style="width: 90vw;">
<div class="card-divider">
<h1>Weather in the US</h1>
</div>
<div class="card-section">
<div id="windy"></div>
<div id="form-container">
<form id="form">
<input class='resizedTextBox' placeholder="Zip Code" id='zipCode'>
<button class="button" type="button">Submit</button>
</form>
<div class="card hidden" id="currentCard">
<p1 id="para1" class='hidden'>
<div class="grid-x">
<ul class="vertical tabs" data-tabs id="weather-tabs">
<li class="tabs-title is-active cell medium-6 large-8"><a href="#todayWeather"
aria-selected="true">Today</a>
</li>
<li class="tabs-title"><a data-tabs-target="tuesday" href="#tuesday">Tues</a></li>
<li class="tabs-title"><a data-tabs-target="wednesday" href="#wednesday">Wed</a></li>
<li class="tabs-title"><a data-tabs-target="thursday" href="#thursday">Thurs</a></li>
<li class="tabs-title"><a data-tabs-target="friday" href="#friday">Fri</a></li>
<li class="tabs-title"><a data-tabs-target="saturday" href="#saturday">Sat</a></li>
<li class="tabs-title"><a data-tabs-target="sunday" href="#sunday">Sun</a></li>
</ul>
<div class="tabs-content" data-tabs-content="weather-tabs">
<div class="tabs-panel is-active" id="todayWeather">
<h4>Your Local Weather</h4>
<div class="weather-icon">
</div>
</div>
<div class="tabs-panel" id="tuesday">
</div>
<div class="tabs-panel" id="tuesday">
</div>
<div class="tabs-panel" id="tuesday">
</div>
</div>
</div>
</p1>
</div>
</div>
</div>
<!-- Scripts -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.1/moment.min.js"
integrity="sha512-qTXRIMyZIFb8iQcfjXWCO8+M5Tbc38Qi5WzdPOYZHIlZpzBHG3L3by84BBBOiRGiEb7KKtAOAs5qYdUiZiQNNQ=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="foundation/jquery.js"></script>
<script src="foundation/what-input.js"></script>
<script src="foundation/foundation.js"></script>
<script src="scripts.js"></script>
<script>
$(document).foundation();
</script>
</body>
</html>