-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
58 lines (43 loc) · 1.67 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
<!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">
<title>Weather Application</title>
<!-- bootstrap cdn -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.4.1/dist/css/bootstrap.min.css" integrity="sha384-Vkoo8x4CGsO3+Hhxv8T/Q5PaXtkKtu6ug5TOeNV6gBiFeWPGFN9MuhOf23Q9Ifjh" crossorigin="anonymous">
<!-- css -->
<link rel="stylesheet" href="style.css">
</head>
<body>
<div class="container my-5 mx-auto">
<h1 class="text-muted text-center my-4">Weather Check</h1>
<form action="#" class="change-location my-4 text-center text-muted">
<label for="city">Enter a location for weather information</label>
<input type="text" class="form-control p-4" name="city">
</form>
<!-- weather data output -->
<div class="card shadow-lg rounded d-none">
<img src="https://via.placeholder.com/400x300" alt="placeholder image" class="time card-img-top">
</div>
<!-- weather icon -->
<div class="icon bg-light mx-auto text-center">
<img src="" alt="">
</div>
<!-- city name and condition -->
<div class="text-muted text-uppercase text-center details">
<h5 class="my-3">City name</h5>
<div class="my-3">Weather condition</div>
<div class="display-4">
<span>temp</span>
<span>°C</span>
</div>
</div>
</div> <!-- cl .container -->
<!-- weather api -->
<script src="scripts/forecast.js"></script>
<!-- dom manipulation -->
<script src="scripts/app_dom.js"></script>
</body>
</html>