-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
82 lines (77 loc) · 3.09 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
71
72
73
74
75
76
77
78
79
80
81
82
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Weather🌡</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/css/bootstrap.min.css"
integrity="sha384-TX8t27EcRE3e/ihU7zmQxVncDAy5uIKz4rEkgIXeMed4M0jlfIDPvg6uqKI2xXr2" crossorigin="anonymous">
<link rel="stylesheet" href="src/style.css">
<script src="https://kit.fontawesome.com/af368aaa0a.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css2?family=Merriweather&display=swap" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
</head>
<body>
<div class="container">
<form class="form-inline" id="search-city">
<div class="form-group mb-2">
</div>
<div class="form-group mx-sm-3 mb-2">
<label for="inputPassword2" class="sr-only">Password</label>
<input type="text" class="form-control" id="yourcity" placeholder="Search your city" autocomplete="off">
</div>
<button type="submit" class="btn btn-primary mb-2">Search</button>
<button type="submit" class="btn btn-primary mb-2" id="current">Current Place</button>
</form>
<div class="row">
<div class="col">
<h1 id="my-city"></h1>
<h4 id="current-time"></h4>
<h4 id="details"> </h4>
</div>
</div>
<div class="Currentplace">
<div class="row" id="today">
<div class="col-6">
<h3 class="Current">Current Weather</h3>
<img src="" alt="" id="icon" />
<span class="temperature" id="current-temp"></span>
<h3 class="temperature" id="current-temp"> </h3>
<span class="units">
<a href="#" id="Celsius-degrees" class="active"> °C </a> |
<a href="#" id="farenheit-degrees"> °F </a>
</span>
</div>
<section class="details">
<div class="col-6">
<ul>
<li>
Wind: <strong id="wind"> </strong>
</li>
<li>
Humidity: <strong id="humid"> </strong>
</li>
<li>
Min temp: <strong id="min"> </strong>
</li>
<li>
Max temp: <strong id="max"> </strong>
</li>
</ul>
</div>
</div>
</div>
</section>
<div class="row weather-forecast" id="forecast">
</div>
</section>
</div>
</div>
</div>
<small id="opensource">
<a href="https://github.com/NINE16/Weather-App" target="_blank">Open-source code</a> by Nicole Nemeth
</small>
<script src="src/js.js">
</script>
</body>
</html>