-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
125 lines (83 loc) · 3.59 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
<!DOCTYPE html>
<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">
<meta name="description" content="Get Free weather forecast with this weather app. We provide reliable weather forecast to allow you to plan your day.">
<meta name="keywords" content="weather, forecast, rain, weather apps, tsunami, good weather cities, ">
<meta name="author" content="Bonface Mudiri">
<title>Weather App</title>
<link rel="icon" href="" type="image/x-icon">
<!-- ========= Bootstrap CSS ========= -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- ========= Font Awesome ========= -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- ========= Custom CSS ========= -->
<link rel="stylesheet" type="text/css" href="./css/weather-app-style.css">
</head>type="text/css"
<body>
<div class="top">
The Weather App <span> { 天気予報 }</span>
</div>
<div class="container-fluid middle">
<div class="col-md-6 col-md-offset-3 col-ms-6 col-ms-offset-3 col-xs-12 col-xs-offset-0">
<div id="ShareText" class="share-text">
<i class="fa fa-map-marker"></i>
<p id="PingText">Ping location to get instant Forecast!</p>
<a id="Ping" class="btn btn-outline-warning">Ping Now</a>
</div>
<div id="AreaTimezone" class="area-timezone">
<h2 id="Address"></h2>
</div>
<div id="Climacon">
<!--<i id="Cloud" class="fa fa-cloud"></i> -->
<canvas id="Skycons" width="128" height="128" style="margin-left: auto; margin-right: auto; display: block;">
</canvas>
</div>
<div class="current-state">
<h2 id="CurrentIcon"></h2>
</div>
<div class="temperature">
<i class="fa fa-thermometer-half"></i><span id="Temperature"> </span><sup></sup>
</div>
<div class="row forecast-row">
<div class="col-md-10 col-md-offset-1 col-ms-10 col-ms-offset-1 col-xs-12 col-xs-offset-0">
<div class="col-md-4 col-ms-4 col-xs-4">
<i class="fa fa-tachometer">Pressure</i><span id="Pressure"> </span>
</div>
<div class="col-md-4 col-ms-4 col-xs-4">
<i class="fa fa-tint">Humidity</i><span id="Humidity"> </span>
</div>
<div class="col-md-4 col-ms-4 col-xs-4">
<i class="fa fa-flag-checkered">Windspeed</i><span id="WindSpeed"> </span>
</div>
</div>
</div>
<div class="forecast-summary">
<p id="Summary"></p>
<a id="Degrees" class="btn btn-convert">Convert to ℃</a>
</div>
</div>
</div>
<div class="bottom">
<div class="row">
<div>a freeCodeCamp <i class="fa fa-free-code-camp"></i> Project</div>
<div>Built with <i class="fa fa-heart"></i> by <a href="https://www.linkedin.com/in/bonface/">Bonface Mudiri</a></div>
</div>
</div>
<!-- jQuery -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- fallback jQuery -->
<script>
if(!window.jQuery){
document.write('<script src="./js/jquery-min.js"><\/script>');
}
</script>
<!-- Bootstrap -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<!-- Custom JS -->
<script src="./js/weather-app.js"></script>
<script src="./js/skycons.js"></script>
</body>
</html>