-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
41 lines (36 loc) · 1.16 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Basetis Ecommerce</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>🛒 Basetis Ecommerce</h1>
<!-- Product 1 -->
<div class="product">
<img src="img/product1.png" alt="Product 1">
<h2>Product 1</h2>
<p>Price: 10.00</p>
<button class="add-to-cart" onclick="addToCart('Product 1', 10.00)">Add to cart</button>
</div>
<!-- Product 2 -->
<div class="product">
<img src="img/product2.png" alt="Product 2">
<h2>Product 2</h2>
<p>Price: 15.00</p>
<button class="add-to-cart" onclick="addToCart('Product 2', 15.00)">Add to cart</button>
</div>
<!-- Product 3 -->
<div class="product">
<img src="img/product3.png" alt="Product 3">
<h2>Product 3</h2>
<p>Price: $20.00</p>
<button class="add-to-cart" onclick="addToCart('Product 3', 20.00)">Add to cart</button>
</div>
<h2>Shopping Cart</h2>
<ul id="cart"></ul>
<script src="script.js"></script>
</body>
</html>