forked from CSI-DMCE-2024/Amazon-Hacktoberfest2024
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproduct.html
More file actions
103 lines (93 loc) · 3.96 KB
/
product.html
File metadata and controls
103 lines (93 loc) · 3.96 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
<!DOCTYPE html>
<html lang="en">
<div style="background-color: white;">
<head style="background-color: darkblue;">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Products</title>
<link style="color: orange";stylesheet href="/css/product.css">
</head>
<body style="background-color:lightgrey;">
<!----create products cards here with hover effect and responsiveness------>
<h>products page</h>
<!--sample products list made to add "add to cart" funtionality-->
<div class="product">
<h2>Product 1</h2>
<p>Price: $10</p>
<button onclick="addToCart('Product 1', 10)">Add to Cart</button>
</div>
<div class="product">
<h2>Product 2</h2>
<p>Price: $15</p>
<button onclick="addToCart('Product 2', 15)">Add to Cart</button>
</div>
<div class="product">
<h2>Product 3</h2>
<p>Price: $20</p>
<button onclick="addToCart('Product 3', 20)">Add to Cart</button>
</div>
<!-- Cart Section -->
<div class="cart">
<h2>Shopping Cart</h2>
<div id="cart-items"></div>
<p id="total">Total: $0</p>
</div>
<!-----Footer---->
<footer style="color: orange;" ;class="amazon-footer">
<div class="footer-container">
<div class="footer-section">
<h3>Get to Know Us</h3>
<ul>
<li><a href="#">About Amazon</a></li>
<li><a href="#">Careers</a></li>
<li><a href="#">Press Releases</a></li>
<li><a href="#">Investor Relations</a></li>
<li><a href="#">Amazon Devices</a></li>
<li><a href="#">Amazon Science</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Make Money with Us</h3>
<ul>
<li><a href="#">Sell on Amazon</a></li>
<li><a href="#">Sell Your Books</a></li>
<li><a href="#">Advertise Your Products</a></li>
<li><a href="#">Become an Affiliate</a></li>
<li><a href="#">Self-Publish with Us</a></li>
<li><a href="#">Host an Amazon Hub</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Amazon Payment Methods</h3>
<ul>
<li><a href="#">Amazon Pay</a></li>
<li><a href="#">Amazon Gift Card</a></li>
<li><a href="#">Amazon Coins</a></li>
</ul>
</div>
<div class="footer-section">
<h3>Need Help?</h3>
<ul>
<li><a href="#">Help</a></li>
<li><a href="#">Shipping Rates</a></li>
<li><a href="#">Return Policy</a></li>
<li><a href="#">Manage Your Content and Devices</a></li>
<li><a href="#">Amazon Assistant</a></li>
</ul>
</div>
</div>
<div class="footer-bottom">
<p> © 2023 Amazon.com, Inc. or its affiliates</p>
<div class="social-media">
<a href="#"><i class="fab fa-facebook-f"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href="#"><i class="fab fa-linkedin-in"></i></a>
</div>
</div>
</footer>
<!------footer ends-->
<script src="/js/Addtocart.js"></script>
</body>
</div>
</html>