Skip to content

Commit

Permalink
create section-1 & link bs-icons cdn
Browse files Browse the repository at this point in the history
  • Loading branch information
TBS96 committed Jul 19, 2024
1 parent 6b81f89 commit edf4099
Show file tree
Hide file tree
Showing 8 changed files with 169 additions and 2 deletions.
Binary file added imgs/cap.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/jeans.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/section-1-left.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/shoe.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/shorts.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/t-shirt.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added imgs/watch.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
171 changes: 169 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Bootstrap Project: 1</title>

<!-- Bootstrap Icons CDN Link -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/font/bootstrap-icons.min.css">

<!-- Bootstrap CSS CDN Link -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<body>
<body class="bg-light">

<!-- navbar starts -->
<nav class="navbar navbar-expand-lg bg-dark sticky-top" data-bs-theme="dark">
Expand Down Expand Up @@ -86,8 +89,172 @@
</button>
</div>
</header>
<!-- hero area carousel ends -->
<!-- hero area carousel ends -->

<!-- 1st section-starts -->
<section class="container mt-5">

<div class="row">

<div class="col-lg-5">
<img src="imgs/section-1-left.jpg" class="img-fluid" alt="section-1-left">
</div>

<div class="col-lg-7">
<div class="row">

<!-- if md & above, then it'll take space of col-4. if device is less than md then it will take col-12(whole line) -->
<div class="col-md-4">

<div class="card border-0">
<img src="imgs/shoe.jpg" class="card-img-top" alt="...">
<div class="card-body">
<p class="card-text text-secondary">Sneakers</p>

<div class="d-flex justify-content-between">
<span class="text-primary">$154.00</span>

<span class="text-warning">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-half"></i>
<i class="bi bi-star"></i>
</span>
</div>

</div>
</div>

</div>

<div class="col-md-4">

<div class="card border-0">
<img src="imgs/jeans.jpg" class="card-img-top" alt="...">
<div class="card-body">
<p class="card-text text-secondary">Jeans</p>

<div class="d-flex justify-content-between">
<span class="text-primary">$174.00</span>

<span class="text-warning">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-half"></i>
<i class="bi bi-star"></i>
</span>
</div>

</div>
</div>

</div>

<div class="col-md-4">

<div class="card border-0">
<img src="imgs/shorts.png" class="card-img-top" alt="...">
<div class="card-body">
<p class="card-text text-secondary">Shorts</p>

<div class="d-flex justify-content-between">
<span class="text-primary">$59.00</span>

<span class="text-warning">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-half"></i>
<i class="bi bi-star"></i>
</span>
</div>

</div>
</div>

</div>

<div class="col-md-4">

<div class="card border-0">
<img src="imgs/watch.jpg" class="card-img-top" alt="...">
<div class="card-body">
<p class="card-text text-secondary">Man's Watch</p>

<div class="d-flex justify-content-between">
<span class="text-primary">$170.00</span>

<span class="text-warning">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-half"></i>
<i class="bi bi-star"></i>
</span>
</div>

</div>
</div>

</div>

<div class="col-md-4">

<div class="card border-0">
<img src="imgs/t-shirt.jpg" class="card-img-top" alt="...">
<div class="card-body">
<p class="card-text text-secondary">T-Shirts</p>

<div class="d-flex justify-content-between">
<span class="text-primary">$25.00</span>

<span class="text-warning">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-half"></i>
<i class="bi bi-star"></i>
</span>
</div>

</div>
</div>

</div>

<div class="col-md-4">

<div class="card border-0">
<img src="imgs/cap.jpg" class="card-img-top" alt="...">
<div class="card-body">
<p class="card-text text-secondary">Cap</p>

<div class="d-flex justify-content-between">
<span class="text-primary">$30.00</span>

<span class="text-warning">
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-fill"></i>
<i class="bi bi-star-half"></i>
<i class="bi bi-star"></i>
</span>
</div>

</div>
</div>

</div>

</div>
</div>

</div>

</section>
<!-- 1st section ends -->

<!-- Bootstrap JS Bundle Link -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
Expand Down

0 comments on commit edf4099

Please sign in to comment.