-
Notifications
You must be signed in to change notification settings - Fork 197
/
faq.html
229 lines (192 loc) · 6.22 KB
/
faq.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
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FAQ - Fashion Clothing and Accessories</title>
<style>
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 0;
background-color: white;
}
.faq-container {
max-width: 900px;
margin: 50px auto;
padding: 20px;
background-color: #ffffff;
border-radius: 10px;
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
display: flex;
gap: 20px;
align-items: flex-start;
}
.faq-content {
flex: 2;
}
.faq-header {
text-align: center;
font-size: 2em;
color: #f2eef174;
margin-bottom: 20px;
}
.faq-item {
margin-bottom: 20px;
background-color: #fef6f6;
border-left: 5px solid #c0bcc0;
overflow: hidden;
transition: all 0.3s ease;
}
.faq-question {
background-color:rgba(128, 128, 128, 0);
color: #1f1d1d;
padding: 15px;
font-size: 1.2em;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
}
.faq-question:hover {
background-color: whitesmoke;
}
.faq-question:after {
content: '\002B';
font-size: 1.5em;
}
.faq-item.active .faq-question:after {
content: '\2212';
}
.faq-answer {
padding: 0 15px;
max-height: 0;
overflow: hidden;
font-size: 1em;
color: #333;
background-color: #fff;
transition: max-height 0.5s ease;
}
.faq-answer p {
padding: 15px 0;
line-height: 1.6;
}
/* Media Queries for Responsive Design */
@media (max-width: 768px) {
.faq-container {
flex-direction: column;
align-items: center;
}
.faq-question {
font-size: 1em;
}
/* Scroll Progress Bar*/
#progress-container {
position: fixed ;
top: 1px;
left: 0;
width: 100%;
height: 15px;
z-index: 99990;
/* background: #f3f3f3; */
}
#progress-bar {
position: fixed;
top: 0.3px;
left: 0;
width: 0%;
height: 6px;
width: 0;
background: linear-gradient(90deg, rgba(27, 27, 27, 0.762) 0%, rgb(61, 61, 61) 50%, rgba(38, 38, 38, 0.679) 100%);
box-shadow: 0 0 4px rgba(255, 244, 221, 0.7), 0 0 10px rgba(255, 255, 255, 0.496);
transition: width 0.09s ease-in-out;
/* border-radius: 10px; */
}
}
</style>
</head>
<body>
<div id="progress-container">
<div id="progress-bar"></div>
</div>
<div class="faq-container">
<div class="faq-content">
<h1 class="faq-header" style="color: rgba(12, 11, 12, 0.735);">Frequently Asked Questions</h1>
<!-- FAQ 1 -->
<div class="faq-item">
<div class="faq-question">1. What is the return policy for clothing items?</div>
<div class="faq-answer">
<p>We accept returns within 30 days of purchase, provided the clothing items are in their original condition with tags intact. Simply initiate a return request through our website and follow the instructions.</p>
</div>
</div>
<!-- FAQ 2 -->
<div class="faq-item">
<div class="faq-question">2. Do you offer free shipping for accessories?</div>
<div class="faq-answer">
<p>Yes, we offer free standard shipping for all accessories within the country. For international shipping, additional charges may apply depending on the location.</p>
</div>
</div>
<!-- FAQ 3 -->
<div class="faq-item">
<div class="faq-question">3. How do I know which size to order?</div>
<div class="faq-answer">
<p>Our size guide is available on every product page. Please refer to it before placing an order to ensure the perfect fit. If you are between sizes, we recommend sizing up for comfort.</p>
</div>
</div>
<!-- FAQ 4 -->
<div class="faq-item">
<div class="faq-question">4. Are there any ongoing promotions or discounts?</div>
<div class="faq-answer">
<p>We frequently have sales and exclusive promotions for our loyal customers. Make sure to subscribe to our newsletter to stay updated on the latest offers and discounts.</p>
</div>
</div>
<!--FAQ-5-->
<div class="faq-item">
<div class="faq-question">5. How long does it take to process my order?</div>
<div class="faq-answer">
<p>Orders are typically processed within 1-2 business days. You’ll receive a confirmation email once your order is on its way.</p>
</div>
</div>
<!-- FAQ 6-->
<div class="faq-item">
<div class="faq-question">6. How can I track my order?</div>
<div class="faq-answer">
<p>Once your order has shipped, you’ll receive a tracking link via email to monitor your package's journey..</p>
</div>
</div>
<!-- FAQ 7 -->
<div class="faq-item">
<div class="faq-question">7. Can I change my order after placing it?</div>
<div class="faq-answer">
<p>Yes, you can modify your order within a certain timeframe after placing it. Please contact our customer support for assistance.</p>
</div>
</div>
<!-- FAQ 8-->
<div class="faq-item">
<div class="faq-question">8. How can I report a problem with the website?</div>
<div class="faq-answer">
<p>If you encounter any issues, please reach out to us through our "Contact Us" page, and we’ll address the issue promptly.</p>
</div>
</div>
</div>
</div>
<script>
// JavaScript to handle dropdown functionality
const faqItems = document.querySelectorAll('.faq-item');
faqItems.forEach(item => {
item.addEventListener('click', () => {
// Toggle the active class on clicked FAQ
item.classList.toggle('active');
// Expand or collapse the answer
const answer = item.querySelector('.faq-answer');
if (item.classList.contains('active')) {
answer.style.maxHeight = answer.scrollHeight + 'px';
} else {
answer.style.maxHeight = '0';
}
});
});
</script>
<script src="script/progressbar.js"></script>
</body>
</html>