-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
161 lines (148 loc) · 4.8 KB
/
index.html
File metadata and controls
161 lines (148 loc) · 4.8 KB
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery.js"></script>
<link rel="stylesheet" type="text/css" href="./style.css" />
<title>WeatherApp</title>
</head>
<body>
<!-- sidenav -->
<div id="searchSidenav" class="sidenav">
<a href="#" class="closebtn">×</a>
<button id=clearHistory>Clear</button>
<form>
<label>City Search:</label>
<input type="text" placeholder="Search for City Forecast"></input>
</form>
<div id="searchedCities">
<!--searched cities should be placed here (from localStorage) -->
</div>
</div>
<div class="container-fluid">
<div class="row">
<div class="col-12" id="search">
<header id="appTitle">
<p>WeatherApp</p>
</header>
<!-- sidenav button -->
<button id="searchBTN">Search By City</button>
</div>
</div>
</div>
<!-- Add all page content inside this div if you want the side nav to push page content to the right (not used if you only want the sidenav to sit on top of the page -->
<div id="main">
<div></div>
<!-- <div class="wrapper"> -->
<header id="cForeTitle">
<h1>Current Forecast</h1>
</header>
<br>
<div id="currentForecast">
<!-- current forecast -->
<div class="container">
<header id=cityName>
<!-- using city name as text for <h2> instead of the obvious "current forecast heading" -->
<h2></h2>
</header>
<br>
<div class="card-deck">
<div class="card" id="currentDay">
<div class="card-body">
<p class="card-text"></p>
</div>
</div>
<div class="card" id="weatherPic">
<div class="card-body">
<p class="card-text"></p>
</div>
</div>
</div>
</div>
</div>
<br><br>
<div id="fiveDayForecast">
<!-- 5 day forecast -->
<div class="container">
<header id="fiveDayTitle">
<h2>5 Day Forecast</h2>
</header>
<br><br>
<div class="card-deck">
<div class="card" id="day0">
<div class="card-body">
<p class="card-text"></p>
</div>
</div>
<div class="card" id="day1">
<div class="card-body">
<p class="card-text"></p>
</div>
</div>
<div class="card" id="day2">
<div class="card-body">
<p class="card-text"></p>
</div>
</div>
</div>
<br><br>
<div class="card-deck">
<div class="card" id="day3">
<div class="card-body">
<p class="card-text"></p>
</div>
</div>
<div class="card" id="day4">
<div class="card-body">
<p class="card-text"></p>
</div>
</div>
<div class="card" id="day5">
<div class="card-body">
<p class="card-text"></p>
</div>
</div>
</div>
<div id=twiceBeforeFooter>
<br>
<p>
Note: -Api calls of 5day forecast instances not 100% accurate due to instance date/time being a variable
that changes in accordance to time of pulled data.<br>
-UV Index is based on noon rating since that is the time of <strong>highest</strong> rating.<br>
<span style="text-decoration: underline">Color Code</span>:<br>
<strong>Low</strong>-Index_less than 3%=<span id="green">Green</span><br>
<strong>Moderate</strong>-Index_between 3% and 6%=<span id="yellow">Yellow</span><br>
<strong>High</strong>-Index_less than 6%=<span id="red">Red</span>
</p>
</div>
</div>
</div>
</div>
<div id="beforeFooter"></div>
<!-- signiture footer -->
<!-- <footer>
<div id="footer">
<div id=text>created by SD_WORKS</div>
<div id=image>
©<img src="./favicon.ico" alt="juju image">9/20
</div>
</div>
</footer> -->
<footer id="outer_footer">
<div class="row footerRow">
<div class="col-lg-4 col-md-2 col-sm-3 col-xs-1"></div>
<div id="texting" class="col-lg-3 col-md-6 col-sm-7 col-xs-8"> Created By NEW DIGITAL WORLD</div>
</div>
<div class="row footerRow">
<div class="col-lg-5 col-md-5 col-sm-5"></div>
<div id="image" class="col-lg-2 col-md-2 col-sm-2">
©<img src="./favicon.ico" alt="juju" /> 2020
</div>
</div>
</footer>
<script src="./script.js"></script>
<script src="./script_ip.js"></script>
</body>
</html>