forked from aditihonagekar/web-technology
-
Notifications
You must be signed in to change notification settings - Fork 0
/
4_ecombootstrap.html
117 lines (117 loc) · 3.86 KB
/
4_ecombootstrap.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
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
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>E-commerce Site</title>
<!-- Include Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
<script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</head>
<body>
<!-- Navigation Bar -->
<nav class="navbar navbar-expand-lg navbar-dark bg-dark">
<a class="navbar-brand" href="#">E-Shop</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNav"
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNav">
<ul class="navbar-nav ml-auto">
<li class="nav-item">
<a class="nav-link" href="#">Home</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Shop</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#">Contact</a>
</li>
</ul>
</div>
</nav>
<!-- Carousel for Featured Products -->
<div id="featuredCarousel" class="carousel slide" data-ride="carousel">
<div class="carousel-inner">
<div class="carousel-item active">
<img src="https://via.placeholder.com/600x300" class="d-block w-100" alt="Featured Product 1">
</div>
<div class="carousel-item">
<img src="https://via.placeholder.com/600x300" class="d-block w-100" alt="Featured Product 2">
</div>
<div class="carousel-item">
<img src="https://via.placeholder.com/600x300" class="d-block w-100" alt="Featured Product 3">
</div>
</div>
<a class="carousel-control-prev" href="#featuredCarousel" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#featuredCarousel" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<!-- Product Categories Section -->
<div class="container my-4">
<h2>Product Categories</h2>
<div class="row text-center">
<div class="col-md-3">
<img src="https://via.placeholder.com/150" class="img-fluid rounded-circle" alt="Category 1">
<h5>Category 1</h5>
</div>
<div class="col-md-3">
<img src="https://via.placeholder.com/150" class="img-fluid rounded-circle" alt="Category 2">
<h5>Category 2</h5>
</div>
<div class="col-md-3">
<img src="https://via.placeholder.com/150" class="img-fluid rounded-circle" alt="Category 3">
<h5>Category 3</h5>
</div>
<div class="col-md-3">
<img src="https://via.placeholder.com/150" class="img-fluid rounded-circle" alt="Category 4">
<h5>Category 4</h5>
</div>
</div>
</div>
<!-- Product Cards -->
<div class="container my-4">
<h2>Featured Products</h2>
<div class="row">
<div class="col-md-4">
<div class="card">
<img src="https://via.placeholder.com/300" class="card-img-top" alt="Product 1">
<div class="card-body">
<h5 class="card-title">Product 1</h5>
<p class="card-text">Description of product 1.</p>
<a href="#" class="btn btn-primary">Buy Now</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="https://via.placeholder.com/300" class="card-img-top" alt="Product 2">
<div class="card-body">
<h5 class="card-title">Product 2</h5>
<p class="card-text">Description of product 2.</p>
<a href="#" class="btn btn-primary">Buy Now</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="card">
<img src="https://via.placeholder.com/300" class="card-img-top" alt="Product 3">
<div class="card-body">
<h5 class="card-title">Product 3</h5>
<p class="card-text">Description of product 3.</p>
<a href="#" class="btn btn-primary">Buy Now</a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>