-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
74 lines (58 loc) · 2.36 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link href="https://fonts.googleapis.com/css?family=IBM+Plex+Sans:400,400i,700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css">
<link rel="stylesheet" href="./assets/css/style.css" />
<title>Weather Dashboard</title>
</head>
<body class="flex-column min-100-vh">
<header class="hero">
<h1 class="app-title"><i class="fas fa-sun"></i> Weather Dashboard</h1>
</header>
<main class="flex-row justify-space-between">
<div class="flex-row justify-space-between col-12">
<div class="col-12 col-md-4">
<div class="card">
<h3 class="card-header text-uppercase">Search By City</h3>
<form id="city-form" class="card-body">
<label class="form-lable" for="cityname">City Name</label>
<input name="cityname" id="cityname" type="text" autofocus="true" class="form-input" />
<button type="submit" class="btn">Get Weather</button>
</form>
</div>
</div>
<div class="col-12 col-md-8">
<div class="card hidden" id="current-weather-card">
<h2 class="card-header" id="weather-status"></h2>
<div class="card-body" id="current-weather">
</div>
</div>
</div>
</div>
<div class="flex-row justify-space-between col-12">
<div class="col-12 col-md-4" id="search">
<div class="card" id="history" style="display: none;">
<h3 class="card-header text-uppercase">Search History <i id="trash" class='fas fa-trash'
title='Clear History'></i>
</h3>
<div class="card-body" id="history-buttons">
</div>
</div>
</div>
<div class="col-12 col-md-8">
<div class="card hidden" id="five-day-card">
<h2 class="card-header" id="five-day-head">5-Day Forecast</h2>
<div class="card-body flex-row justify-space-around" id="five-day-body">
</div>
</div>
</div>
</div>
</main>
<!-- Add script file -->
<script src="./assets/js/script.js"></script>
</body>
</html>