-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
166 lines (123 loc) · 5.23 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
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
<!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 href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-wvfXpqpZZVQGK6TAh5PVlGOfQNHSoD2xbE+QkPxCAFlNEevoEH3Sl0sibVcOQVnN" 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="row" id="headRow">
<div class="col-md-12" id="colText">
<h2 class="text-center" id="colHeadText1"></h2>
<h1 class="text-center" id="colHeadText2"></h1>
<ul class="list-inline" id="list_item">
<li id="list1"></li>
<li id="list2"></li>
<li id="list3"></li>
<li id="list4"></li>
</ul>
</div>
</div>
<div class="container" style="margin-bottom: 70px;">
<div class="row">
<div class="col-md-12">
<h2 class="text-center text-primary" style="margin-top:40px;">Welcome To Eddie's Weather App</h2>
<p class="text-center" id="welcome-paragraph">Eddie's weather app is a web-based application that allows users to search for current weather information as well as weather forecast of different cities around the world. Users can search for weather information by city name. Eddie's weather app uses the openweathermap API which is found at www.openweathermap.org</p>
</div>
</div>
<div class="row" id="rowDiv">
<div class="col-md-4" id="colDesc">
<div class="info-icon"><i class="fa fa-sun-o"></i></div>
<h3 class="text-center">Weather API</h3>
<p class="text-center">Use openweathermap API to get weather information of any city.</p>
</div>
<div class="col-md-4" id="colDesc">
<div class="info-icon"><i class="fa fa-search"></i></div>
<h3 class="text-center">Search</h3>
<p class="text-center">Search for current weather information and weather forecast.</p>
</div>
<div class="col-md-4" id="colDesc">
<div class="info-icon"><i class="fa fa-chevron-circle-down"></i></div>
<h3 class="text-center">View Result</h3>
<p class="text-center">Get information about temperature, pressure, humidity etc</p>
</div>
</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="typed.js"></script>
<script>
$(document).ready(function(){
setTimeout(function(){
$("#colHeadText1").typed({
strings: ["The most simplest weather app. It's simple."],
typeSpeed: 40
})
}, 0);
setTimeout(function(){
$("#colHeadText2").typed({
strings: ["Get weather information of any city."],
typeSpeed: 50
})
}, 2000);
setTimeout(function(){
$("#list1").typed({
strings: ["Temperature"],
typeSpeed: 50
})
}, 4000);
setTimeout(function(){
$("#list2").typed({
strings: ["Pressure"],
typeSpeed: 50
})
}, 6000);
setTimeout(function(){
$("#list3").typed({
strings: ["Wind Speed"],
typeSpeed: 50
})
}, 8000);
setTimeout(function(){
$("#list4").typed({
strings: ["Humidity"],
typeSpeed: 50
})
}, 10000);
});
</script>
</body>
</html>