-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathiWeather.html
More file actions
61 lines (57 loc) · 2.38 KB
/
iWeather.html
File metadata and controls
61 lines (57 loc) · 2.38 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css"
integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="/iWeather/main.css">
<title>iWeather</title>
</head>
<body class="bg">
<div class="app-wrap col-6 mx-auto">
<header>
<input type="text" autocomplete="off" class="search-box" placeholder="Search for a city..." />
</header>
<main>
<section class="location">
<div class="city">-</div>
<div class="date">-</div>
</section>
<div class="current">
<div class="temp">- °<span>C</span></div>
<div class="weather text-capitalize">Sunny</div>
<div class="hinlow">-°c / -°c</div>
</div>
<div class="mt-2">
<div class="card">
<h5 class="mb-0">
<button class="btn" data-toggle="collapse" data-target="#collapseTwo" aria-expanded="false"
aria-controls="collapseTwo">
Details
</button>
</h5>
<div id="collapseTwo" class="collapse" aria-labelledby="headingTwo" data-parent="#accordion">
<div class="card-body">
<p class="font-weight-bold ">Visibility: <span class="visib">-</span>m</p>
<p class="font-weight-bold ">Wind-Speed: <span class="wind">-</span> km/hr</p>
</div>
</div>
</div>
</main>
</div>
</body>
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"
integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js"
integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js"
integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script>
$('.btn').hover(function(){
$(this).click();
})
</script>
<script src="/iWeather/app.js"></script>
</html>