-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
66 lines (66 loc) · 2.3 KB
/
index.html
File metadata and controls
66 lines (66 loc) · 2.3 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
62
63
64
65
66
<!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" />
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.0-beta1/dist/css/bootstrap.min.css"
integrity="sha384-0evHe/X+R7YkIZDRvuzKMRqM+OrBnVFBL6DOitfPri4tjfHxaWutUpFmBp4vmVor"
crossorigin="anonymous"
/>
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
<link rel="stylesheet" href="styles.css"/>
<title>SheCodes Plus Weather App</title>
</head>
<body>
<div class="weather-app">
<div class="row box">
<div class="col-5">
<form class="search-form" id="search-form">
<div class="mb-3">
<label for="city" class="form-label" id="form-city-search">What's your city?</label>
<input type="search" class="form-control border-0" id="city">
</div>
<button type="submit" class="btn btn-warning" id="search-button">Search</button>
<button type="click" class="btn btn-outline-warning" id="current-location-button">Locate me</button>
</form>
</div>
<div class="col-6">
<h2 class="date" id="date"></h2>
<div class="container output">
<div class="row">
<div class="col">
<h4 class="city"><span id="show-city"></span></h4>
<h4> <strong class="degree"><span id="temp-main"></span></strong>
<small class="units">
<a href="#" id="cels">C</a> |
<a href="#" id="fahr">F</a>
</small>
</h4>
</div>
<div class="col">
<img src=""
class="icon"
id="icon">
</div>
</div>
</div>
<span class="details">
</br>
<span class="sky-title">Sky: </span><span class="sky-condition" id="condition"></span>
</br>
<span class="humidity-title">Humidity: </span><span id="humidity"></span>
</br>
<span class="wind-title">Wind: </span> <span id="wind"></span>
</div>
</div>
<div class="forecast" id="forecast">
</div>
<span class="link">
<a class="gh-link" id="code" href="https://github.com/itokarchuk/shecodes-week6" target="_blank">Open-Source Code</a> by Ira Tokarchuk
</span>
<script src="app.js"></script>
</body>
</html>