-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
101 lines (94 loc) · 4.02 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 name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Materialize -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<!-- Material Icons-->
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<!-- Font Awesome -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css"
integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" crossorigin="anonymous">
<!-- Local Style Sheet -->
<link rel="local stylesheet" href="assets/style.css">
<!-- Google Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap"
rel="stylesheet">
<!-- Title -->
<title>Aiden's Weather API</title>
</head>
<!-- Navbar -->
<body>
<div class="nav row">
<div class="nav-wrapper">
<div class="col s12 l2 logo-col">
<a class="brand-logo"><img class="responsive-img" id="logo" src="assets/images/weatherDash.png" /></a>
</div>
<form>
<div class="row searchbar">
<h5 class="col s12 l4 search-title">Search your city by zip code:</h5>
<div class="input-field col s6 l3">
<input id="search" type="search">
</div>
<div class="input-field col s2 l1">
<button class="btn searchBtn" type="submit" name="action" alt="search">
<i class="material-icons">search</i>
</button>
</div>
<div class="droppdown col s2 l1">
<!-- Dropdown Trigger -->
<a class='dropdown-trigger btn' data-target='dropdown1'>recent searches</a>
<!-- Dropdown Structure -->
<ul id='dropdown1' class='dropdown-content collection'>
</ul>
</div>
</div>
</form>
</div>
</div>
<div class="container">
<div class="row">
<!-- Main Content -->
<div class="card current-weather">
<div class="card-content current-card">
<div class="col s12 m3 l3 location-title">
<!-- city name -->
<h2 class="city-title"></h2>
<!-- today's date -->
<h5 class="date col"></h5>
<!-- current weather icon -->
<img class="title-icon" src="">
<!-- current weather specs -->
</div>
<div class="col s12 m9 l9 specs">
<table class="col s12 collection location-specs">
</table>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col s12">
<!-- Forecast Card -->
<div class="card forecast">
<div class="card-content">
<!-- forecast title -->
<h4 class="forecast-title">5 Day Forecast</h4>
<!-- forecast specs -->
<div id="forecast">
</div>
</div>
</div>
</div>
</div>
<!-- jQuery -->
<script src="https://code.jquery.com/jquery-3.4.1.min.js"></script>
<!-- Moment -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<!-- Materialize.js -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<!-- local script -->
<script src="assets/script.js"></script>
</body>
</html>