-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstore.html
More file actions
109 lines (103 loc) · 5.01 KB
/
store.html
File metadata and controls
109 lines (103 loc) · 5.01 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
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
102
103
104
105
106
107
108
109
<!DOCTYPE html>
<html>
<head>
<title>Puff Share/Store</title>
<meta name="description" content="This is the description">
<link rel="icon" href="Images/favicon-32x32.png" type="image/x-icon"/>
<link rel="stylesheet" href="styles.css" />
<script src="store.js" async></script>
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@1,700&display=swap" rel="stylesheet">
</head>
<body>
<header class="main-header">
<img class="logo-icon" src="Images/cloudicon-trimmy.png" alt="cloud">
<h1 class="band-name band-name-large">Puff Share</h1>
</header>
<section class="container content-section">
<h2 class="section-header">Devices in Stock</h2>
<div class="shop-items">
<div class="shop-item">
<span class="shop-item-title">Album 1</span>
<img class="shop-item-image" src="Images/Album 1.png">
<div class="shop-item-details">
<span class="shop-item-price">$12.99</span>
<button class="btn btn-primary shop-item-button" type="button">ADD TO CART</button>
</div>
</div>
<div class="shop-item">
<span class="shop-item-title">Album 2</span>
<img class="shop-item-image" src="Images/Album 2.png">
<div class="shop-item-details">
<span class="shop-item-price">$14.99</span>
<button class="btn btn-primary shop-item-button"type="button">ADD TO CART</button>
</div>
</div>
<div class="shop-item">
<span class="shop-item-title">Album 3</span>
<img class="shop-item-image" src="Images/Album 3.png">
<div class="shop-item-details">
<span class="shop-item-price">$9.99</span>
<button class="btn btn-primary shop-item-button" type="button">ADD TO CART</button>
</div>
</div>
<div class="shop-item">
<span class="shop-item-title">Album 4</span>
<img class="shop-item-image" src="Images/Album 4.png">
<div class="shop-item-details">
<span class="shop-item-price">$19.99</span>
<button class="btn btn-primary shop-item-button" type="button">ADD TO CART</button>
</div>
</div>
</div>
</section>
<!--<section class="container content-section">
<h2 class="section-header">MERCH</h2>
<div class="shop-items">
<div class="shop-item">
<span class="shop-item-title">T-Shirt</span>
<img class="shop-item-image" src="Images/Shirt.png">
<div class="shop-item-details">
<span class="shop-item-price">$19.99</span>
<button class="btn btn-primary shop-item-button" type="button">ADD TO CART</button>
</div>
</div>
<div class="shop-item">
<span class="shop-item-title">Coffee Cup</span>
<img class="shop-item-image" src="Images/Cofee.png">
<div class="shop-item-details">
<span class="shop-item-price">$6.99</span>
<button class="btn btn-primary shop-item-button" type="button">ADD TO CART</button>
</div>
</div>
</div>
</section>-->
<section class="container content-section">
<h2 class="section-header">CART</h2>
<div class="cart-row">
<span class="cart-item cart-header cart-column">ITEM</span>
<span class="cart-price cart-header cart-column">PRICE</span>
<span class="cart-quantity cart-header cart-column">QUANTITY</span>
</div>
<div class="cart-items">
</div>
<div class="cart-total">
<strong class="cart-total-title">Total</strong>
<span class="cart-total-price">$0</span>
</div>
<button class="btn btn-primary btn-purchase" type="button" onclick="setTimeout(doClick,100);">CHECK-OUT</button>
<script type="text/javascript">
function doClick() {
if (document.getElementsByClassName('cart-total-price')[0].innerText != '$0') {
window.location.href = "checkout.html";
}
}
</script>
</section>
<footer class="main-footer success-foot">
<div class="container main-footer-container">
<h3 class="band-name-footer">Puff Share</h3>
</div>
</footer>
</body>
</html>