-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathcatalog.html
196 lines (184 loc) · 6.17 KB
/
catalog.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Wool Product Catalog</title>
<link rel="stylesheet" href="catalog.css" />
<link rel="icon" href="images/favicon.ico" type="image/x-icon">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css"
integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css"
/>
</head>
<body>
<header>
<!-- Navbar Section -->
<nav class="navbar">
<div class="navcontainer">
<!-- Logo -->
<a href="#" class="logo">
<img
src="./images/DALL·E 2023-09-11 20.54.30 - Make exact like this image.png"
alt="logo"
height="50"
width="50"
/>
</a>
<!-- Navbar Toggle Button for Mobile -->
<button class="nav-toggle" id="nav-toggle">☰</button>
<!-- Navbar Links -->
<ul class="nav-links" id="nav-links">
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="contact.html">Contact Doctor</a></li>
<li><a href="demand.html">Demand</a></li>
<li><a href="Privacy policy.html">Privacy Policy</a></li>
<li><a href="Trems and service.html">Terms and Services</a></li>
</ul>
<!-- Additional Links -->
<div class="lastlink">
<ul>
<li><a href="Log in.html">Login</a></li>
<li><a href="signup.html">SignUp</a></li>
</ul>
</div>
</div>
</nav>
<!-----navbar end-->
</header>
<div>
<div class="product-list">
<div class="product">
<div class="image-container">
<img src="images/H_M.jpg" alt="Wool Product 1"/>
<button>Add to Cart</button>
</div>
<div class="details">
<h3>Wool Product 1</h3>
<p>₹100.00</p>
</div>
</div>
<div class="product">
<div class="image-container">
<img src="images/take-care-of-woolen-clothes.jpg" alt="Wool Product 2"/>
<button>Add to Cart</button>
</div>
<div class="details">
<h3>Wool Product 2</h3>
<p>₹220.00</p>
</div>
</div>
<div class="product">
<div class="image-container">
<img src="images/img2.jpg" alt="Wool Product 3"/>
<button>Add to Cart</button>
</div>
<div class="details">
<h3>Wool Product 3</h3>
<p>₹340.00</p>
</div>
</div>
<div class="product">
<div class="image-container">
<img src="images/51Z4ty8n+-L._SL500_.jpg" alt="Wool Product 4" />
<button>Add to Cart</button>
</div>
<div class="details">
<h3>Wool Product 4</h3>
<p>₹490.00</p>
</div>
</div>
<div class="product">
<div class="image-container">
<img src="images/jean-marc-vieregge-cDKqFb-NOZc-unsplash.jpg" alt="Wool Product 5"/>
<button>Add to Cart</button>
</div>
<div class="details">
<h3>Wool Product 5</h3>
<p>₹550.00</p>
</div>
</div>
<div class="product">
<div class="image-container">
<img src="images/depositphotos_328265802-stock-photo-stylish-sweater-on-white-background.jpg" alt="Wool Product 6"/>
<button>Add to Cart</button>
</div>
<div class="details">
<h3>Wool Product 6</h3>
<p>₹600.00</p>
</div>
</div>
<div class="product">
<div class="image-container">
<img src="images/c0fc74e37a4dcfc3eaac55862222f02c.jpg" alt="Wool Product 7" />
<button>Add to Cart</button>
</div>
<div class="details">
<h3>Wool Product 7</h3>
<p>₹730.00</p>
</div>
</div>
</div>
</div>
<footer class="footer">
<div class="footer-container">
<div class="footer-info">
<h2>Contact Us</h2>
<p>
If you have any questions or inquiries, feel free to reach out to
us.
</p>
<p>Email: [email protected]</p>
<div class="social-icons">
<a href="#" class="social-icon"
><i class="fab fa-facebook-f"></i
></a>
<a href="#" class="social-icon"><i class="fab fa-twitter"></i></a>
<a href="#" class="social-icon"><i class="fab fa-instagram"></i></a>
<a href="#" class="social-icon"
><i class="fab fa-linkedin-in"></i
></a>
</div>
</div>
</div>
<div class="copyright">
<p>© 2023 Wool Connect. All Rights Reserved.</p>
</div>
</footer>
<button id="scrollBtn" title="Go to top">
<i class="fa-solid fa-arrow-up fa-lg"></i>
</button>
</body>
<script>
const toggleButton = document.getElementById("nav-toggle");
const navLinks = document.getElementById("nav-links");
toggleButton.addEventListener("click", () => {
navLinks.classList.toggle("active");
});
// Get the button element
const scrollBtn = document.getElementById('scrollBtn');
// Show the button when the user scrolls down 20px from the top
window.onscroll = function () {
if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) {
scrollBtn.style.display = "block";
} else {
scrollBtn.style.display = "none";
}
};
// Scroll to the top of the page when the button is clicked
scrollBtn.onclick = function () {
window.scrollTo({
top: 0,
behavior: "smooth"
});
};
</script>
</html>