-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (59 loc) · 2.85 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
<!DOCTYPE html>
<html lang="en" >
<head>
<meta charset="UTF-8">
<title>Local weather app</title>
<link rel="stylesheet" href="css/style.css">
</head>
<body>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Local Weather App</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<link rel="stylesheet" type="text/css" href="https://cdnjs.cloudflare.com/ajax/libs/weather-icons/2.0.9/css/weather-icons.min.css">
<link rel="stylesheet" type="text/css" href="style.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- Leave those next 4 lines if you care about users using IE8 -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<h1 id="title" class="text-center">Local Weather App</h1>
<div id="panel" class="panel panel-default center-block">
<div class="panel-heading">
<div class="panel-title row">
<div class="text-left col-xs-6">Today</div>
<div id="location" class="text-right col-xs-5">Retrieving Location</div>
<i class="fa fa-map-marker col-xs-0.5"></i>
</div>
</div>
<div class="panel-body row">
<div id="leftpanel" class="col-xs-6">
<h2 class="text-center"><span id="temp">0</span><span><i id="uniticon" class="wi wi-celsius"></i></span></h2>
<h1 class="text-center"><i id="cunit" class="wi wi-celsius"></i><span> l </span><i id="funit" class="wi wi-fahrenheit"></i></h1>
</div>
<div id="rightpanel" class="col-xs-6">
<div class="text-center"><img id="icon" src=""><h2><i class="wi wi-na"></i></h2></div>
<h1 id="weather" class="text-center">Loading</h1>
</div>
</div>
</div>
<!-- TODO: Here goes your content! -->
<!-- Including Bootstrap JS (with its jQuery dependency) so that dynamic components work -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script src="script.js"></script>
</body>
<footer class="text-center">
<p>Designed with <i style="color:red" class="fa fa-heart"></i> by <a style="color: white" href="https://www.linkedin.com/in/prateek-kalra-61aba866/" target="_blank">Prateek Kalra</a>.</p>
</footer>
</html>
<script src="js/index.js"></script>
</body>
</html>