-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
63 lines (51 loc) · 1.93 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
<!DOCTYPE html>
<html lang="en" >
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<title>WeatherCaster - Show Weather Anywhere, Automagically.</title>
</head>
<body>
<body id="body">
<div class="container">
<div class="jumbotron">
<div class="row">
<div class="col">
<h1 class="text-center title"> WeatherCaster</h1>
<h2 class="text-center title"> How's the Weather?</h2>
</div>
</div>
<div class="row text-center">
<div id="inputloc">
<input type="text" id="location">
<button id="getCords" onClick="getWeather();">Show me the weather</button>
</div>
</div>
<div class="row">
<h2 id="weather-name" class="text-center weather">---</h2>
</div>
<div class="row">
<h2 id="weather-current" class="text-center weather">--</h2>
</div>
<div class="row">
<h3 id="weather-high" class="text-center weather">High: --</h3>
</div>
<div class="row">
<h3 id="weather-low" class="text-center weather">Low: --</h3>
</div>
<div id="poweredby">
<a id="poweredby" href="https://darksky.net/poweredby/">Powered by Dark Sky</a>
</div>
</div>
</body>
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=places&key=AIzaSyA-OAcx_RgiQExoMEm2bRarivXlT8CFwao"></script>
<script src="js/index.js"></script>
<script src='https://code.jquery.com/jquery-2.2.4.min.js'></script>
<script src="https: //maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js"></script>
</body>
</html>