-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcart.html
More file actions
28 lines (22 loc) · 830 Bytes
/
Copy pathcart.html
File metadata and controls
28 lines (22 loc) · 830 Bytes
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
<head>
<link rel = "stylesheet" type="text/css" href="cart.css">
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/1.18.0/TweenMax.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<meta charset="utf-8">
</head>
<body>
<button onclick = 'cartinit()'> Init Cart</button>
<hr/>
<button onclick = 'additem()'> Add to Cart</button>
<div style = 'position:absolute;'>
<textarea id = 'name'> name </textarea>
<textarea id = 'quantity'> quantity </textarea>
<textarea id = 'priceforone'> price </textarea>
<select id = 'type'>
<option value="tea">tea</option>
<option value="pots">pots</option>
<option value="set">set</option>
</select>
</div>
</body>
<script src="Shopping_cart_widget.js"></script>