-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (69 loc) · 3.56 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
59
60
61
62
63
64
65
66
67
68
69
70
<!DOCTYPE html>
<html>
<head>
<title>Weather App</title>
<!--Google Fonts-->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Merriweather&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Alkatra&display=swap" rel="stylesheet">
<!--icons-->
<script src="https://kit.fontawesome.com/cff7ab425f.js" crossorigin="anonymous"></script>
<!--CSS-->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-GLhlTQ8iRABdZLl6O3oVMWSktQOp6b7In1Zl3/Jr59b6EGGoI1aFkw7cmDA6j6gD" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="api.css">
</head>
<body>
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="card mb-4">
<h2><i class="fa fa-map-marker"></i> <span id="location0"></span></h2>
<h6 id="weather0"></h6>
<h4><span id="temp0"></span>°C</h4>
<img src="" alt="" id="img-icon0">
</div>
<div class="card mb-4">
<h2><i class="fa fa-map-marker"></i> <span id="location1"></span></h2>
<h6 id="weather1"></h6>
<h4><span id="temp1"></span>°C</h4>
<img src="" alt="" id="img-icon1">
</div>
</div>
<div class="col-md-4">
<br>
<div class="card mb-4">
<h2 class="title"><i class="fa-solid fa-cloud-sun-rain"></i> Weather App</h2>
</div>
<div class="card mb-4">
<h2><i class="fa fa-map-marker"></i> <span id="curr-location"></span></h2>
<h6 id="curr-weather"></h6>
<h4><span id="curr-temp"></span>°C</h4>
<img src="" alt="" id="curr-img-icon">
<button class="refresh" onclick="window.location.reload()">
<i class="fa fa-refresh"></i>
</button>
</div>
</div>
<div class="col-md-4">
<div class="card mb-4">
<h2><i class="fa fa-map-marker"></i> <span id="location2"></span></h2>
<h6 id="weather2"></h6>
<h4><span id="temp2"></span>°C</h4>
<img src="" alt="" id="img-icon2">
</div>
<div class="card mb-4">
<h2><i class="fa fa-map-marker"></i> <span id="location3"></span></h2>
<h6 id="weather3"></h6>
<h4><span id="temp3"></span>°C</h4>
<img src="" alt="" id="img-icon3">
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-w76AqPfDkMBDXo30jS1Sgez6pr3x5MlQ1ZAGC+nuZB+EYdgRZgiwxhTBTkF7CXvN" crossorigin="anonymous"></script>
</body>
<script src="https://code.jquery.com/jquery-3.6.0.js" integrity="sha256-H+K7U5CnXl1h5ywQfKtSj8PCmoN9aaq30gDh27Xc0jk=" crossorigin="anonymous"></script>
<script type='text/javascript' src='config.js'></script>
<script type="text/javascript" src="weather.js"></script>
</html>