forked from varun17roy/webd
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecomerce.html
More file actions
58 lines (58 loc) · 1.39 KB
/
Copy pathecomerce.html
File metadata and controls
58 lines (58 loc) · 1.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>E-Commerce Store</title>
<style>
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
}
header {
background-color: #333;
color: #fff;
padding: 10px;
text-align: center;
}
h1 {
margin: 0;
}
.product {
display: flex;
border: 1px solid #ccc;
margin: 10px;
padding: 10px;
}
.product img {
max-width: 100px;
margin-right: 20px;
}
</style>
</head>
<body>
<header>
<h1>E-Commerce Store</h1>
</header>
<div class="product">
<img src="product1.jpg" alt="Product 1">
<div>
<h2>Product 1</h2>
<p>Description of Product 1.</p>
<p>Price: $19.99</p>
<button>Add to Cart</button>
</div>
</div>
<div class="product">
<img src="product2.jpg" alt="Product 2">
<div>
<h2>Product 2</h2>
<p>Description of Product 2.</p>
<p>Price: $29.99</p>
<button>Add to Cart</button>
</div>
</div>
<!-- Add more product listings as needed -->
</body>
</html>