-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (91 loc) · 3.06 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
83
84
85
86
87
88
89
90
91
92
93
<!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" />
<!-- CSS only -->
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.2.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65"
crossorigin="anonymous"
/>
<!-- FontAwesome script -->
<script
src="https://kit.fontawesome.com/fbaaf4ea07.js"
crossorigin="anonymous"
></script>
<script src="https://cdn.jsdelivr.net/npm/axios@1.1.2/dist/axios.min.js"></script>
<link type="text/css" rel="stylesheet" href="src/style.css" />
<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=Open+Sans:wght@400;600&display=swap"
rel="stylesheet"
/>
<title>Maggnolia's Weather App</title>
</head>
<body>
<div class="container">
<header>
<div class="row search-group">
<form>
<input
type="search"
class="search-input col-6"
placeholder="Search a city name"
/>
<button type="submit" class="btn btn-primary search-button col-2">
<i class="fa-solid fa-magnifying-glass"></i>
</button>
<button class="btn btn-secondary current-location-button col-3">
Current Location
</button>
</form>
</div>
</header>
<section class="weather-report">
<div class="current-status">
<div class="row">
<div class="col-4">
<h3 class="current-city"></h3>
<div class="current-details">
<p class="current-date-time"></p>
<p class="current-condition"></p>
<p class="current-wind"></p><p class="wind-unit"> mph</p>
<p class="current-humidity"></p><p class="humidity-unit"></p>
</div>
<button type="button" class="btn btn-primary convert-button">
Convert Units
</button>
</div>
<div class="col-8 righthand-display">
<img class="current-icon" src="http://shecodes-assets.s3.amazonaws.com/api/weather/icons/broken-clouds-night.png"></img>
<h1 class="current-temp"></h1>
<p class="temp-unit">°F</p>
</div>
</div>
</div>
<hr />
<div class="forecast">
<div class="row">
<!--- forcastHTML goes here -->
</div>
</div>
</section>
</div>
<footer>
<p>
<a
href="https://github.com/maggnolia31/my-weather-project"
target="_blank"
>
Open-source code</a
>
by Maggie Zhang
</p>
</footer>
<script src="src/script.js"></script>
</body>
</html>