Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added a product section to the website #998

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added images/ac.avif
Binary file not shown.
Binary file added images/bluetooth.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 images/cooler.webp
Binary file not shown.
Binary file added images/dressing-table.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 images/images (1).jpeg
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 images/images.jpeg
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 images/microwave.avif
Binary file not shown.
Binary file added images/mobile.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 images/power.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 images/sanwich.webp
Binary file not shown.
Binary file added images/smart-light.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 images/smart.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 images/sofa.webp
Binary file not shown.
Binary file added images/study-chair.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 images/swings.webp
Binary file not shown.
Binary file added images/tv.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 images/wardrobe.webp
Binary file not shown.
Binary file added images/washing.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -843,6 +843,7 @@ <h3 class="deal-title">Car Music System</h3>

</section>

<div id="product-section" id="sub-heading"></div>

<!-- -grid for deals -->
<!--Other Top Deals-->
Expand Down Expand Up @@ -1327,6 +1328,7 @@ <h3>ABOUT</h3>
$("#category-list").load("./categorylist.html");
$("#top-deals").load("./topdeals.html");
$("#content-page").load("./content-page.html");
$("#product-section").load("./product-section.html");
});
fetch('./Navabar.html')
.then(response => response.text())
Expand Down
265 changes: 265 additions & 0 deletions product-section.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,265 @@
<!DOCTYPE html>
<html lang="en">

<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<style>
html {
overflow-x: hidden;
}

.cards {
display: flex;
}

.card1 {
border: 1px solid rgb(174, 164, 164);
width: 225px;
text-align: center;
}

.card1 img {
width: 200px;
}

.card2 img {
width: 200px;
}

.card2 {
border: 1px solid rgb(174, 164, 164);
/* width: 225px; */
text-align: center;
margin-left: 10px;
}

.card3 img {
width: 200px;
}

.card3 {
border: 1px solid rgb(174, 164, 164);
/* width: 225px; */
text-align: center;
margin-left: 10px;
}

.card4 img {
width: 200px;
}

.card4 {
border: 1px solid rgb(174, 164, 164);
/* width: 225px; */
text-align: center;
margin-left: 10px;
}

.card5 img {
width: 200px;
}

.card5 {
border: 1px solid rgb(174, 164, 164);
/* width: 225px; */
text-align: center;
margin-left: 10px;
}

.card6 img {
width: 200px;
}

.card6 {
border: 1px solid rgb(174, 164, 164);
/* width: 225px; */
text-align: center;
margin-left: 10px;
}

.cards2 {
display: flex;
}

#card {
border: 1px solid rgb(174, 164, 164);
/* width: 225px; */
text-align: center;
}

.card1-1 img {
width: 200px;
}

.card1-1 {
border: 1px solid rgb(174, 164, 164);
/* width: 225px; */
text-align: center;
margin-left: 10px;
}

#card img {
width: 200px;
}

#cool img {
height: 200px;
width: 180px;
}

#cool {
margin: 0px 10px;
}
.cards3{
display: flex;
}
.card2-2{
border: 1px solid rgb(174, 164, 164);
/* width: 225px; */
text-align: center;
margin-left: 10px;
}
.card2-2 img{
width: 200px;
}
#power img{
height: 200px;
}
#light img{
height: 200px;
}
.first-sec h3{
margin-top: 30px;
margin-left: 30px;
}
.cards{
margin: 10px;
}
.sec-sec h3{
margin-top: 30px;
margin-left: 30px;
}
.cards2{
margin: 10px;
}
.third-sec h3{
margin-top: 30px;
margin-left: 30px;
}
.third-sec{
margin-bottom: 20px;
}
</style>
</head>

<body>
<div class="first-sec">
<h3>Furniture & Mattresses</h3>
<div class="cards">
<div class="card1">
<img src="./images/images.jpeg" alt="">
<p>Portable Laptop Table</p>
<p>From Rs.399</p>
</div>
<div class="card2">
<img src="./images/sofa.webp" alt="">
<p>Inflatable Sofas</p>
<p>From Rs.499</p>
</div>
<div class="card3">
<img src="./images/swings.webp" alt="">
<p>Hammock and Swings</p>
<p>From Rs.299</p>
</div>
<div class="card4">
<img src="./images/dressing-table.jpg" alt="">
<p>Dressing Table</p>
<p>From Rs.2,999</p>
</div>
<div class="card5">
<img src="./images/wardrobe.webp" alt="">
<p>Wardrobes</p>
<p>From Rs.4,999</p>
</div>
<div class="card6">
<img src="./images/study-chair.jpg" alt="">
<p>Wardrobes</p>
<p>From Rs.1,890</p>
</div>
</div>
</div>
<div class="sec-sec">
<h3>Top deals on appliances</h3>
<div class="cards2">
<div id="card">
<img src="./images/washing.jpg" alt="">
<p>Washing Machine</p>
<p>From Rs.10,000</p>
</div>
<div class="card1-1">
<img src="./images/sanwich.webp" alt="">
<p>Sandwich Machine</p>
<p>From Rs.1,999</p>
</div>
<div class="card1-1">
<img src="./images/ac.avif" alt="">
<p>A.C.</p>
<p>From Rs.2,999</p>
</div>
<div class="card1-1">
<img src="./images/tv.jpg" alt="">
<p>T.V</p>
<p>From Rs.6,999</p>
</div>
<div class="card1-1" id="cool">
<img src="./images/cooler.webp" alt="">
<p>Cooler</p>
<p>From Rs.5,999</p>
</div>
<div class="card1-1" id="cool">
<img src="./images/microwave.avif" alt="">
<p>Microwave</p>
<p>From Rs.3,999</p>
</div>
</div>
</div>
<div class="third-sec">
<h3>Electronic Gadgets</h3>
<div class="cards3">
<div class="card2-2">
<img src="./images/bluetooth.jpg" alt="">
<p>Bluetooth Headphone</p>
<p>From Rs.699</p>
</div>
<div class="card2-2">
<img src="./images/smart.jpg" alt="">
<p>SmartWatches</p>
<p>From Rs.799</p>
</div>
<div class="card2-2">
<img src="./images/images (1).jpeg" alt="">
<p>Gaming Consoles</p>
<p>From Rs.17,990</p>
</div>
<div class="card2-2" id="power">
<img src="./images/power.jpg" alt="">
<p>Powerbanks</p>
<p>From Rs.459</p>
</div>
<div class="card2-2">
<img src="./images/mobile.jpg" alt="">
<p>Mobile Charger</p>
<p>From Rs.99</p>
</div>
<div class="card2-2" id="light">
<img src="./images/smart-light.jpg" alt="">
<p>Smart Light</p>
<p>From Rs.399</p>
</div>
</div>
</div>
</body>

</html>
Loading