-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathwebsite.html
More file actions
137 lines (112 loc) · 5.04 KB
/
website.html
File metadata and controls
137 lines (112 loc) · 5.04 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
<!DOCTYPE HTML>
<html lang="en">
<head>
<meta charset="UTF-8">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<link rel="stylesheet" href="style.css">
<!-- Latest compiled and minified CSS -->
<link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/cerulean/bootstrap.min.css" rel="stylesheet" integrity="sha384-zF4BRsG/fLiTGfR9QL82DrilZxrwgY/+du4p/c7J72zZj+FLYq4zY00RylP9ZjiT" crossorigin="anonymous">
</head>
<body>
<header>
</header>
<!-- A navbar-->
<section class="container-fluid">
<div class="bs-component">
<nav class="navbar navbar-default">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Weather App</a>
</div>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav">
<li class="active"><a href="https://openweathermap.org/api">Open Weather API <span class="sr-only">(current)</span></a></li>
<li><a href="http://ip-api.com/docs/api:json">Location API</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">Other Links <span class="caret"></span></a>
<ul class="dropdown-menu" role="menu">
<li><a href="http://freecodecamp.com">Freecodcamp</a></li>
<li><a href="http:///getbootstrap.com">Bootstrap</a></li>
<li><a href="#"></a></li>
<li class="divider"></li>
</ul>
</li>
</ul>
</div>
</div>
</nav>
</div>
</section>
<!-- end navbar -->
<!-- A Map of the area -->
<div id="map"></div>
<div class="container">
<!-- End Map -->
<h1 class='text-primary'>Local Weather</h1>
<form class="form-inline" id="textForm">
<div class="form-group">
<input type="text" class="form-control" id="stateInput" placeholder="City, State or Zip Code" title="Enter Your City, State or City, Country, or Zip/Postal Code" />
</div>
<div class="form-group">
<button id="getcity" type="submit" class="btn btn-primary">Submit</button>
</div>
</form>
<!-- table -->
<div class="row">
<div class="col-lg-12">
<div class="page-header">
<h1 id="tables">Current Weather:</h1>
</div>
<div class="bs-component">
<table class="table table-striped table-hover ">
<thead>
<tr>
<th id="city"></th>
<th id="country"></th>
</tr>
</thead>
<tbody>
<tr>
<td>Temperature</td>
<td id="f"></td>
</tr>
<tr>
<td>Wind Speed</td>
<td id="wind"></td>
</tr>
<tr>
<td>Skies</td>
<td id="type"></td>
</tr>
</tbody>
</table>
</div><!-- /example -->
</div>
</div>
<!-- end table -->
<div class="text">
<ul class="list">
<li id="change" class="btn btn-primary">C/F</li>
</ul>
</div>
</section>
<footer>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyAFNugRcffgCxskh8aN8wNTK04eNSinvUk&callback=initMap"
async defer></script>
<script src="myScript.js"></script>
<script src="googleMap.js"></script>
<div class="wrapper">
Weather App- by Joe K. <img src="gfx/logo.jpg">
</div>
</footer>
</div>
</body>
</html>