-
Notifications
You must be signed in to change notification settings - Fork 3
/
weather-app.html
93 lines (78 loc) · 3.06 KB
/
weather-app.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>Material Design for Bootstrap</title>
<!-- MDB icon -->
<link rel="icon" href="img/mdb-favicon.ico" type="image/x-icon" />
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.15.2/css/all.css" />
<!-- Google Fonts Roboto -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap" />
<!-- MDB -->
<link rel="stylesheet" href="css/bootstrap-weather.min.css" />
</head>
<body>
<!-- Start your project here-->
<section class="vh-100">
<div class="container py-5 h-100">
<div class="row d-flex justify-content-center align-items-center h-100">
<div class="col-md-8 col-lg-6 col-xl-4">
<h3 class="mb-4 pb-2 fw-normal">Check the weather forecast</h3>
<div class="input-group rounded mb-3">
<input type="search" class="form-control rounded" placeholder="City" aria-label="Search"
aria-describedby="search-addon" />
<a href="#!" type="button">
<span class="input-group-text border-0 fw-bold" id="search-addon">
Check!
</span>
</a>
</div>
<div class="mb-4 pb-2">
<div class="form-check form-check-inline">
<input
class="form-check-input"
type="radio"
name="inlineRadioOptions"
id="inlineRadio1"
value="option1"
checked
/>
<label class="form-check-label" for="inlineRadio1">Celsius</label>
</div>
<div class="form-check form-check-inline">
<input
class="form-check-input"
type="radio"
name="inlineRadioOptions"
id="inlineRadio2"
value="option2"
/>
<label class="form-check-label" for="inlineRadio2">Farenheit</label>
</div>
</div>
<div class="card shadow-0 border">
<div class="card-body p-4">
<h4 class="mb-1 sfw-normal">New York, US</h4>
<p class="mb-2">Current temperature: <strong>5.42°C</strong></p>
<p>Feels like: <strong>4.37°C</strong></p>
<p>Max: <strong>6.11°C</strong>, Min: <strong>3.89°C</strong></p>
<div class="d-flex flex-row align-items-center">
<p class="mb-0 me-4">Scattered Clouds</p>
<i class="fas fa-cloud fa-3x" style="color: #eee;"></i>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- End your project here-->
<!-- MDB -->
<script type="text/javascript" src="js/mdb.min.js"></script>
<!-- Custom scripts -->
<script type="text/javascript"></script>
</body>
</html>