-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (83 loc) · 3.34 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
94
95
96
97
98
99
100
101
<!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://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
<link rel="stylesheet" href="./assets/css/styles.css" />
<title>Weather Dashboard</title>
</head>
<body>
<header class="bg-dark text-white">
<h1 class="p-4 text-center">Weather Dashboard</h1>
</header>
<main class="row d-flex">
<!-- left column -->
<div class="col-12 col-md-4">
<div class="card">
<h2 class="card-header">Search for a City: </h2>
<form id="city-search" class="col-12 card-body">
<input name="city" id="city" class="form-input col-12" placeholder="type name of city here" />
<button type="submit" class="btn btn-dark col-12"> Search </button>
</form>
</div>
<div id="search-history">
</div>
</div>
<!-- right column-->
<div class="col-12 col-md-8">
<div id="current-city-container">
<h2 class="current-city"></h2>
<div>
<p class="current-temp"></p>
<p class="current-wind"></p>
<p class="current-humidity"></p>
<p class="current-uv"></p>
</div>
</div>
<div id="forcast-container">
<h3 id="title"></h3>
<div class="row">
<div id="day1" class="col-12 col-md-2">
<p class="date"></p>
<img class="weather-icon">
<p class="temp"></p>
<p class="wind"></p>
<p class="humidity"></p>
</div>
<div id="day2" class="col-12 col-md-2">
<p class="date"></p>
<img class="weather-icon">
<p class="temp"></p>
<p class="wind"></p>
<p class="humidity"></p>
</div>
<div id="day3" class="col-12 col-md-2">
<p class="date"></p>
<img class="weather-icon">
<p class="temp"></p>
<p class="wind"></p>
<p class="humidity"></p>
</div>
<div id="day4" class="col-12 col-md-2">
<p class="date"></p>
<img class="weather-icon">
<p class="temp"></p>
<p class="wind"></p>
<p class="humidity"></p>
</div>
<div id="day5" class="col-12 col-md-2">
<p class="date"></p>
<img class="weather-icon">
<p class="temp"></p>
<p class="wind"></p>
<p class="humidity"></p>
</div>
</div>
</div>
</div>
</main>
<script src="./assets/js/script.js"></script>
</body>
</html>