-
Notifications
You must be signed in to change notification settings - Fork 317
/
Faq.html
609 lines (535 loc) · 19 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
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FAQ - Creative Canvas Tool</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.6.0/css/all.min.css">
<style>
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;500;700&display=swap');
* {
box-sizing: border-box;
}
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background: linear-gradient(135deg, #ffb7fd 0%, #abc0ef 50%, #c58be5 100%);
color: #333;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.navbar {
background-color: #e588e7;
padding: 15px;
display: flex;
justify-content: space-around;
align-items: center;
position: sticky;
top: 0;
width: 100%;
z-index: 1000;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.navbar h1 {
color: #fff;
margin: 0;
}
.nav-links {
display: flex;
gap: 25px;
}
.nav-links a {
color: #fff;
text-decoration: none;
padding: 6px 8px;
border-radius: 4px;
transition: background-color 0.3s;
}
.nav-links a:hover {
background-color: #ef9ef5;
}
.container {
width: 900px;
margin: 2rem auto;
padding: 2rem;
background-color: rgba(255, 255, 255, 0.3);
border-radius: 10px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
h2 {
color: #353047;
text-align: center;
margin-bottom: 2rem;
}
.accordion-item {
margin-bottom: 1rem;
}
.accordion-title {
background-color: rgba(255, 255, 255, 0.5);
color: #333;
padding: 1rem;
cursor: pointer;
border-radius: 5px;
transition: background-color 0.3s;
}
.accordion-title:hover {
background-color: rgba(255, 255, 255, 0.7);
}
.accordion-content {
background-color: #f0f0f0;
padding: 1rem;
display: none;
border-radius: 0 0 5px 5px;
}
.contact-section {
background-color: rgba(255, 255, 255, 0.3);
padding: 2rem;
border-radius: 10px;
width: 600px;
margin: 2rem auto;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.contact-section h2 {
color: #353047;
}
form input,
form textarea {
width: 100%;
padding: 1rem;
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 5px;
}
form button {
background-color: #9b59b6;
color: #fff;
border: none;
padding: 0.7rem 1.5rem;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
form button:hover {
background-color: #8e44ad;
}
/* .footer {
background-color: rgba(51, 51, 51, 0.8);
color: #fff;
text-align: center;
padding: 1rem 0;
margin-top: auto;
}
.footer .share a {
color: #fff;
margin: 0 0.5rem;
font-size: 1.5rem;
transition: color 0.3s;
}
.footer .share a:hover {
color: #ffb7fd;
} */
.circle {
height: 24px;
width: 24px;
border-radius: 50%;
background-color: black;
position: fixed;
top: 0;
left: 0;
pointer-events: none;
z-index: 99999999;
transition: transform 0.1s ease-out;
}
/* Hide cursor when the 'hidden' class is applied */
.cursor.hidden {
visibility: hidden;
}
</style>
</head>
<body>
<!-- Circles for cursor effect -->
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<div class="circle"></div>
<header class="header">
<!-- Navbar -->
<nav class="navbar">
<h1 class="canvas">Canvas Editor</h1>
<div class="nav-links">
<a href="index.html">Home</a>
<a href="about-us.html">About Us</a>
<a href="review.html">Review</a>
<a href="testimonial.html">Testimonial</a>
<a href="privacy.html">Privacy</a>
<a href="tutorial.html">Tutorial</a>
<a href="Blog_page.html">Blog</a>
<a href="Faq.html">FAQ</a>
<a href="Feedback.html">Feedback</a>
<a href="contributors.html">Contributors</a>
</div>
</nav>
</header>
<div class="container">
<h2>Frequently Asked Questions</h2>
<div class="accordion">
<div class="accordion-item">
<div class="accordion-title">1. What is the Creative Canvas Tool?</div>
<div class="accordion-content">
<p>Creative Canvas Tool empowers artists of all levels with an intuitive platform for digital art creation. Offering a variety of brushes, colors, and textures, it encourages creativity and style exploration. Whether sketching or perfecting a masterpiece, its user-friendly interface ensures a smooth experience, letting you focus on your art.</p>
</div>
</div>
<div class="accordion-item">
<div class="accordion-title">2. How do I create an account using the "Sign Up" button in the navbar?</div>
<div class="accordion-content">
<p>To create an account, click on the "Sign Up" button located in the navigation bar. A registration form will appear where you need to enter Username, email address, and password. After filling out the form submit the form. Otherwise You can Sign up Using Your Google Account.</p>
</div>
</div>
<div class="accordion-item">
<div class="accordion-title">3. How do I log in using the "Login" button in the navbar?</div>
<div class="accordion-content">
<p>To log in, click on the "Login" button in the navigation bar. Enter the email address or Username and password associated with your account, then click "Login." Once authenticated, you will be redirected to your account dashboard, where you can manage your profile or access other features.</p>
</div>
</div>
<div class="accordion-item">
<div class="accordion-title">4. How do I convert text to uppercase, lowercase, bold, or italic in the editor?</div>
<div class="accordion-content">
<p>To convert text to uppercase, lowercase, bold and italic, just click on the button as your desire. There are buttons for uppercase, lowercase, bold and italic, write your text and convert it as your wish.</p>
</div>
</div>
<div class="accordion-item">
<div class="accordion-title">5. How do I choose a background image in the Canvas Editor?</div>
<div class="accordion-content">
<p>To select a background image, navigate to the "Background" section in the toolbar. From there, you can either upload your own image or choose from a library of pre-loaded images. Once selected, the image will be applied to the entire canvas.</p>
</div>
</div>
</div>
</div>
<div class="contact-section">
<h2>Contact Us</h2>
<p>If you have any questions, feel free to reach out to us!</p>
<form>
<input type="text" name="name" placeholder="Your Name" required pattern="[a-zA-Z ]+"
oninvalid="this.setCustomValidity('Numbers and Symbols are not allowed')"
oninput="this.setCustomValidity('')">
<input type="email" name="email" placeholder="Your Email" required>
<textarea name="message" placeholder="Your Message" rows="4" required></textarea>
<button type="submit">Send Message</button>
</form>
</div>
<!-- footer -->
<!-- Footer -->
<footer class="main-footer">
<div class="containers">
<!-- About Us Section (Left) -->
<div class="footer-column">
<h5 class="footer-heading">About Us</h5>
<p>We provide high-quality canvas editing tools for creatives worldwide. Our mission is to empower
creativity through easy-to-use tools.</p>
</div>
<!-- Quick Links Section (Center) -->
<div class="footer-column center">
<h5 class="footer-heading">Quick Links</h5>
<ul class="list-unstyled">
<li><a href="privacy.html">Privacy Policy</a></li>
<li><a href="terms.html">Terms & Conditions</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
</div>
<!-- Social Media Icons Section (Right) -->
<div class="footer-column right">
<h5 class="footer-heading">Follow Us</h5>
<div class="social-icons">
<a href="#"><i class="fab fa-facebook"></i></a>
<a href="#"><i class="fab fa-twitter"></i></a>
<a href="#"><i class="fab fa-instagram"></i></a>
<a href=" https://www.linkedin.com/in/anuragvishwakarma/"><i class="fab fa-linkedin"></i></a>
</div>
</div>
</div>
<div class="text-center py-3" style="margin-top: 32px; margin-left:43%;">
© 2024 Canvas Editor. All rights reserved.
</div>
</footer>
<style>
/* Footer Styling */
.main-footer {
background-color: #333;
/* Dark background */
color: #f1f1f1;
/* Light text color */
padding: 18px 0;
font-size: 16px;
}
.footer-heading {
color: #e56767;
/* Red/pink heading color */
margin-bottom: 20px;
text-transform: uppercase;
font-size: 22px;
text-align: center;
}
.main-footer a {
color: #f1f1f1;
/* Link color */
text-decoration: none;
transition: color 0.3s;
}
.main-footer a:hover {
color: #e56767;
/* Link hover color */
}
/* Footer Container Styling */
.main-footer .containers {
max-width: 1200px;
margin: auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
text-align: left;
}
/* Columns Styling */
.footer-column {
flex: 1;
padding: 0 20px;
}
.footer-column.center {
text-align: center;
}
.footer-column.right {
text-align: right;
margin-top: -76px;
}
/* Quick Links List */
.list-unstyled {
padding-left: 0;
list-style-type: none;
}
.list-unstyled li {
margin-bottom: 10px;
}
.list-unstyled a {
color: #f1f1f1;
transition: color 0.3s ease;
}
.list-unstyled a:hover {
color: #e56767;
text-decoration: underline;
}
/* Social Icons Styling */
.social-icons {
display: flex;
gap: 14px;
justify-content: center;
}
.social-icons a {
font-size: 24px;
color: #f1f1f1;
transition: transform 0.3s ease, color 0.3s ease;
}
.social-icons a:hover {
transform: scale(1.2);
color: #e56767;
}
</style>
<script>
// Accordion functionality
const accordionTitles = document.querySelectorAll('.accordion-title');
accordionTitles.forEach(button => {
button.addEventListener('click', (event) => {
// Close all other accordion items
accordionTitles.forEach(item => {
if (item !== button) {
item.classList.remove('active');
item.nextElementSibling.style.display = 'none';
}
});
// Toggle the clicked item
const content = button.nextElementSibling;
button.classList.toggle('active');
if (button.classList.contains('active')) {
content.style.display = 'block';
} else {
content.style.display = 'none';
}
});
});
// Close accordion when clicking outside
document.addEventListener('click', (event) => {
const isClickInsideAccordion = event.target.closest('.accordion');
if (!isClickInsideAccordion) {
accordionTitles.forEach(item => {
item.classList.remove('active');
item.nextElementSibling.style.display = 'none';
});
}
});
// Coordinates for the cursor
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
// Colors for the circles
const colors = [
"#ffb56b", "#fdaf69", "#f89d63", "#f59761", "#ef865e", "#ec805d",
"#e36e5c", "#df685c", "#d5585c", "#d1525c", "#c5415d", "#c03b5d",
"#b22c5e", "#ac265e", "#9c155f", "#950f5f", "#830060", "#7c0060",
"#680060", "#60005f", "#48005f", "#3d005e"
];
// Assign colors and initial position to each circle
circles.forEach(function (circle, index) {
circle.x = 0;
circle.y = 0;
circle.style.backgroundColor = colors[index % colors.length];
});
// Update the coordinates when the mouse moves
document.addEventListener("mousemove", function (e) {
coords.x = e.clientX;
coords.y = e.clientY;
// Update the position of each circle
circles.forEach(function (circle, index) {
circle.style.left = coords.x - 12 + "px";
circle.style.top = coords.y - 12 + "px";
circle.style.scale = (circles.length - index) / circles.length;
});
});
// Add mouseleave event to hide cursor
document.addEventListener("mouseleave", () => {
circles.forEach(circle => circle.classList.add("hidden"));
});
// Add mouseenter event to show cursor
document.addEventListener("mouseenter", () => {
circles.forEach(circle => circle.classList.remove("hidden"));
});
// Add focus and blur events to hide/show cursor
document.addEventListener("focus", () => {
circles.forEach(circle => circle.classList.remove("hidden"));
});
document.addEventListener("blur", () => {
circles.forEach(circle => circle.classList.add("hidden"));
});
// Animation function to move the circles
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.x = x;
circle.y = y;
// Get the next circle in the sequence
const nextCircle = circles[index + 1] || circles[0];
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
// Repeat the animation
requestAnimationFrame(animateCircles);
}
// Start the animation
animateCircles();
// Set current year in footer
document.getElementById("year").textContent = new Date().getFullYear();
</script>
<!-- Scroll to Top Button -->
<button id="scrollToTopBtn">
<div class="progress-ring">
<svg viewBox="0 0 36 36">
<path class="ring-bg" d="M18 2a16 16 0 1 1 0 32 16 16 0 0 1 0-32"></path>
<path class="ring-progress" d="M18 2a16 16 0 1 1 0 32 16 16 0 0 1 0-32"></path>
</svg>
</div>
<span>↑</span>
</button>
<style>
/* Scroll to Top Button */
#scrollToTopBtn {
position: fixed;
bottom: 20px;
right: 20px;
width: 50px;
height: 50px;
border-radius: 50%;
background: linear-gradient(135deg, #ffb7fd 0%, #abc0ef 100%);
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
outline: none;
border: none;
opacity: 0;
transition: opacity 0.3s;
}
#scrollToTopBtn.show {
opacity: 1;
}
#scrollToTopBtn span {
font-size: 24px;
color: white;
}
/* Progress Ring */
.progress-ring {
position: absolute;
top: 50%;
left: 50%;
width: 36px;
height: 36px;
transform: translate(-50%, -50%);
}
.progress-ring svg {
width: 100%;
height: 100%;
transform: rotate(-90deg);
}
.ring-bg {
fill: none;
stroke: rgba(255, 255, 255, 0.2);
stroke-width: 4;
}
.ring-progress {
fill: none;
stroke: white;
stroke-width: 4;
stroke-dasharray: 100;
stroke-dashoffset: 100;
transition: stroke-dashoffset 0.3s;
}
</style>
<!-- JavaScript for Scroll to Top Button -->
<script>
// Show button and update progress ring on scroll
const scrollToTopBtn = document.getElementById("scrollToTopBtn");
const ringProgress = document.querySelector(".ring-progress");
window.addEventListener("scroll", () => {
// Show/hide button
if (window.scrollY > 300) {
scrollToTopBtn.classList.add("show");
} else {
scrollToTopBtn.classList.remove("show");
}
// Update progress ring
const scrollPercentage = (window.scrollY / (document.documentElement.scrollHeight - window.innerHeight)) * 100;
ringProgress.style.strokeDashoffset = 100 - scrollPercentage;
});
// Scroll to top when button clicked
scrollToTopBtn.addEventListener("click", () => {
window.scrollTo({ top: 0, behavior: "smooth" });
});
</script>
</body>
</html>