-
Notifications
You must be signed in to change notification settings - Fork 0
/
current.html
84 lines (61 loc) · 2.9 KB
/
current.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 lang="en">
<head>
<meta charset="UTF-8">
<title>Weather App</title>
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<link rel="stylesheet" href="style.css">
</head>
<body>
<nav class="navbar navbar-default" id="nav_bar">
<div class="container">
<div class="navbar-header">
<a href="index.html" class="navbar-brand navbar-link weather">
<img src="images/logo.png" class="img-responsive" id="logo" alt=""><strong>Weather App</strong>
</a>
<button class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navcol">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="collapse navbar-collapse" id="navcol">
<ul class="nav navbar-nav navbar-right" id="nav_list">
<li><a href="current.html">Current</a></li>
<li><a href="forecast.html">Forecast</a></li>
<li><a href="http://www.openweathermap.org" target="_blank">Open Weather Map</a></li>
</ul>
</div>
</div>
</nav>
<div class="jumbotron" style="margin-bottom:0px; background-color:#4aa1f3; color:white;">
<h2 class="text-center" style="font-size:40px; font-weight:600;">Get Current Weather Information</h2>
</div>
<div class="container" style="height:650px;">
<div class="row" >
<div class="col-md-12" style="margin-bottom:10px;">
<h3 class="text-center text-primary">Enter City Name</h3>
<span id="error" class="text-center"></span>
</div>
<div class="row form-group form-inline" id="cityDiv">
<input type="text" name="city" id="city" class="form-control" placeholder="Enter city name" >
<button id="submitCity" class="btn btn-primary">Search City</button>
</div>
</div>
<div id="showWeather"></div>
</div>
<div class="footer">
<div class="container">
<div class="row text-center" style="padding-top:30px;">
<p style="color:white">Copyright © Weather App</p>
</div>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"></script>
<!-- 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="weather.js"></script>
</body>
</html>