-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (57 loc) · 2.03 KB
/
Copy pathindex.html
File metadata and controls
61 lines (57 loc) · 2.03 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 http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
http-equiv="Content-Security-Policy"
content="upgrade-insecure-requests" />
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD"
crossorigin="anonymous" />
<link rel="stylesheet" href="style.css" />
<title>API Weather</title>
</head>
<body>
<div class="container my-5 mx-auto">
<h1 class="text-muted text-center my-4">API Weather</h1>
<!-- weather input search -->
<form class="change-location my-4 text-center text-muted">
<label for="city" class="my-2"
>Enter a location for the weather information</label
>
<input type="text" name="city" class="form-control p-2" />
<input
type="submit"
value="Show weather"
class="my-2 text-center button text-muted form-control" />
</form>
<div class="rainbow d-none">
<div class="card shadow-lg rounded d-none">
<!-- weather card -->
<img
src="https://via.placeholder.com/400x300"
alt="weather card"
class="time card-img-top" />
<!-- weather icon -->
<div class="icon bg-light mx-auto text-center">
<img src="" alt="weather-icon" />
</div>
<div class="text-muted bg-light text-uppercase text-center details">
<h5 class="my-3">City name</h5>
<div class="my-3">Weather condition</div>
<div class="display-4 my-4">
<span>temp</span>
<span>°C</span>
</div>
</div>
</div>
</div>
</div>
<script src="./scripts/forcast.js"></script>
<script src="./scripts/app.js"></script>
</body>
</html>