-
Notifications
You must be signed in to change notification settings - Fork 70
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (53 loc) · 2.17 KB
/
index.html
File metadata and controls
53 lines (53 loc) · 2.17 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>My Store</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Lato&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<header>
<div id="view_cart">
<a class="btn green" onClick="viewCart()">View Cart</a>
</div>
<h1>ACA STORE PROJECT</h1>
</header>
<main>
<div id="command_container">
<div class="row">
<div class="col s6 m6 l3">
<input type="search" placeholder="Search" id="search">
</div>
<div class="col s6 m6 l3">
<a class="btn green" onClick="searchProduct()">Search</a>
<a class="btn blue" onClick="resetFunc()">Reset</a>
</div>
<div class="col s12 m12 l6">
<select id="category" onChange="categoryFilter(this.value)">
<option value="">All Categories</option>
<option value="food">Food</option>
<option value="electronics">Electronics</option>
<option value="sporting">Sporting</option>
</select>
</div>
</div>
</div>
<div class="product_list row"></div>
</main>
<footer></footer>
<script src="products.js"></script>
<script src="index.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js"></script>
<script>
$(document).ready(function(){
$('select').formSelect();
});
</script>
</body>
</html>