-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
83 lines (73 loc) · 2.49 KB
/
index.html
File metadata and controls
83 lines (73 loc) · 2.49 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>Weather World Wide</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<!-- bootstrap -->
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
crossorigin="anonymous"
/>
<!-- bootstrap -->
<!-- my css -->
<link rel="stylesheet" href="./CSS/style.css" />
<!-- my css -->
</head>
<body>
<div class="container my-5">
<h1 class="text-center title">Weather in</h1>
<form class="search-location">
<input
type="text"
name="city"
placeholder="what city"
autocomplete="off"
class="form-control text-muted form-rounded p-4 shadow-sm"
/>
</form>
<div class="card rounded my-3 shadow d-none lg back-card">
<!-- ^^adding (d-none) to hide the card until user inputs location ^^-->
<!-- referencing "back-card within index.js to display user data input, if not it will show nothing and catches error-->
<div class="card-top text-center">
<div class="city-name my-3">
<p>Abuja</p>
<span>...</span>
</div>
<img src="img/night.png" alt="" class="card-img-top time" />
</div>
<div class="card-body">
<div class="card-mid row">
<div class="col-8 text-center temp">
<span>30°C</span>
</div>
<div class="col-4 condition-temp">
<p class="condition">Thunder Storm</p>
<p class="high">30°C</p>
<p class="low">27°C</p>
</div>
</div>
<div class="icon-container card shadow mx-auto">
<img src="img/cloud.png" alt="" />
</div>
<div class="card-button px-5 py-4 row">
<div class="col text-center">
<p>30°C</p>
<span>Feels like</span>
</div>
<div class="col text-center">
<p>55%</p>
<span>Humidity</span>
</div>
</div>
</div>
</div>
</div>
<script src="./Javascript/request.js"></script>
<script src="./Javascript/index.js"></script>
</body>
</html>