-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
69 lines (57 loc) · 2.17 KB
/
Copy pathindex.html
File metadata and controls
69 lines (57 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
<!DOCTYPE html>
<html>
<head lang="en">
<meta charset="utf-8">
<title>COMP5347 Assignment One</title>
<link rel="stylesheet" href="index.css" />
<script type="text/javascript" src="index.js"></script>
</head>
<body>
<h1 id = "h1title">AZ Book Online Store</h1>
<input type="checkbox" id="vehicle1" name="vehicle1" value="Bike">
<label for="vehicle1"> Dark Mode</label>
<form method="get" action="">
<div id="searchBox">
<input type="text" placeholder="Search.." name="search" id = "searchb">
<button id = "btn" type = "button">Search</button>
<select id = "selectbox" name = "where">
<option value="default" selected="selected">Select Category</option>
<option value="Art">Art</option>
<option value="Science History">Science History</option>
<option value="Action and Adventure">Action and Adventure</option>
<option value="Health">Health</option>
<option value="Science Fiction">Science Fiction</option>
<option value="Other">Other</option>
</select>
<button id = "btn2" type="button">Filter</button>
<button id = "Addcart" type="button">Add to carts</button>
<button id = "resetcart" type="button">reset the carts</button>
<img id = "cartimage" src="images/shopping_cart.png" alt="Image description" >
<span id="cartnum">(0)</span>
<div id = "displaycart">
<input type="text" placeholder="input book number.." name="add cart" id = "addcartbox">
<button id = "addcartboxbtn" type = "button">Submit</button>
</div>
</div>
<div id="listBox">
<table id="myTable">
<thead>
<tr>
<th></th>
<th></th>
<th>Title</th>
<th></th>
<th>Authors</th>
<th>Year</th>
<th>Price</th>
<th>Publisher</th>
<th>Category</th>
</tr>
</thead>
<tbody id = "myBody">
</tbody>
</table>
</div>
</form>
</body>
</html>