forked from ayush-that/FinVeda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
reviews.html
1276 lines (1152 loc) · 52.8 KB
/
reviews.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
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>FinVeda - Share Your Financial Journey</title>
<link rel="shortcut icon" href="/assets/images/favicon2.webp" type="image/png" />
<link rel="stylesheet" href="./assets/css/animate.css" />
<link rel="stylesheet" href="./assets/css/magnific-popup.css" />
<link rel="stylesheet" href="./assets/css/slick.css" />
<link rel="stylesheet" href="./assets/css/LineIcons.css" />
<link rel="stylesheet" href="./assets/css/font-awesome.min.css" />
<link rel="stylesheet" href="./assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="./assets/css/default.css" />
<link rel="stylesheet" href="./assets/css/style.css" />
<link rel="stylesheet" href="./assets/css/quiz.css" />
<link rel="stylesheet" href="./assets/css/popup.css" />
<link rel="stylesheet" href="./assets/css/cookiepopup.css">
<link rel="stylesheet" href="./assets/css/about.css"/>
<link rel="stylesheet" href="./assets/css/index.css"/>
<link rel="stylesheet" type="text/css" href="sipcalculatorCss.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css" />
<link rel="stylesheet" href="./assets/css/about(inlines).css" />
<link rel="stylesheet" href="navbar.css">
<style>
.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, rgba(73, 232, 247, 0.466), rgba(141, 38, 172, 0.5));
transition: transform 0.1s, left 0.1s, top 0.1s;
}
.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
}
#progressBar {
position: fixed;
top: 0;
left: 0;
width: 0%;
height: 8px;
background-color: #f76b45;
z-index: 9999;
}
* {
cursor: url('/assets/images/ads_click_24dp_000000_FILL0_wght400_GRAD0_opsz24.svg'), auto;
}
.circle {
position: absolute;
width: 25px;
height: 25px;
border-radius: 50%;
pointer-events: none;
background: radial-gradient(circle, rgba(73, 232, 247, 0.466), rgba(141, 38, 172, 0.5));
transition: transform 0.1s, left 0.1s, top 0.1s;
}
.circle-container {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
z-index: 9999;
}
@media (max-width: 720px) {
.circle-container {
display: none;
}
}
body p {
color: #000000; /* Replace #000000 with your desired color code */
}
</style>
</head>
<body>
<div id="progressBar"></div>
<script>
window.onscroll = function () {
var winScroll = document.body.scrollTop || document.documentElement.scrollTop;
var height = document.documentElement.scrollHeight - document.documentElement.clientHeight;
var scrolled = (winScroll / height) * 100;
document.getElementById("progressBar").style.width = scrolled + "%";
};
</script>
<div class="circle-container">
<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>
<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>
<script>
document.addEventListener("DOMContentLoaded", function () {
const coords = { x: 0, y: 0 };
const circles = document.querySelectorAll(".circle");
circles.forEach(function (circle) {
circle.x = 0;
circle.y = 0;
});
window.addEventListener("mousemove", function (e) {
coords.x = e.pageX;
coords.y = e.pageY - window.scrollY; // Adjust for vertical scroll position
});
function animateCircles() {
let x = coords.x;
let y = coords.y;
circles.forEach(function (circle, index) {
circle.style.left = `${x - 12}px`;
circle.style.top = `${y - 12}px`;
circle.style.transform = `scale(${(circles.length - index) / circles.length})`;
const nextCircle = circles[index + 1] || circles[0];
circle.x = x;
circle.y = y;
x += (nextCircle.x - x) * 0.3;
y += (nextCircle.y - y) * 0.3;
});
requestAnimationFrame(animateCircles);
}
animateCircles();
});
</script>
<div id="progressBar"></div>
<header class="header-area">
<div style="display: flex; justify-content: center;" class="navbar-area">
<div style="display: flex; justify-content: center;" class="container">
<div class="row">
<div style="display: flex; justify-content: center;" class="">
<nav class="navbar navbar-expand-lg" style="display: flex;">
<div class="collapse navbar-collapse sub-menu-bar" id="navbarSupportedContent" style="margin: auto; margin-left: -5px;">
<div class="icon1">
<a href="./index.html">
<img src="./assets/images/FinvedaLogo.png" alt="Finveda Logo" style="width: 13rem;">
</a>
</div>
<ul id="nav" class="navbar-nav ml-auto" style="margin: auto;">
<li class="nav-item">
<a class="page-scroll" href="./index.html" style="color: rgb(237, 242, 244);">Home 🏡</a>
</li>
<!-- <li class="nav-item">
<a class="page-scroll active-link" href="./about.html" style="color: rgb(237, 242, 244);">About Us 📖</a>
</li> -->
<li class="nav-item">
<a class="page-scroll" href="./trends.html" style="color: rgb(237, 242, 244);">Trends 📈</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./tools/sip.html" style="color: rgb(237, 242, 244);">Tools 🔧</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./blog.html" style="color: rgb(237, 242, 244);">Blogs 📰</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./quiz.html" style="color: rgb(237, 242, 244);">Quiz 🤔</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./careers.html" style="color: rgb(237, 242, 244);">Career 👔</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./contact.html" style="color: rgb(237, 242, 244);">Contact📞</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./faq.html" style="color: rgb(237, 242, 244);">Help 🙋♂️</a>
</li>
<li class="nav-item no-underline">
<a class="main-btn navbar-btn" style="padding: 2px 20px; color: rgb(237, 242, 244);animation-duration: 0.4s;animation-name: ease;" data-scroll-nav="0" href="./loginPage.html">Login/Register 💻</a>
</li>
<li class="nav-item no-underline">
<button id="theme-toggle" class="theme-toggle" style="margin-right: 2px;">
🌙
</button>
</li>
</ul>
</div>
<script>
const toggleButton = document.getElementById('theme-toggle');
var body = document.body;
var currentTheme = localStorage.getItem('theme');
if (currentTheme === 'dark') {
body.classList.add('dark-mode');
toggleButton.classList.add('dark');
toggleButton.textContent = '🌞';
}
toggleButton.addEventListener('click', function () {
body.classList.toggle('dark-mode');
toggleButton.classList.toggle('dark');
if (body.classList.contains('dark-mode')) {
toggleButton.textContent = '🌞';
localStorage.setItem('theme', 'dark');
} else {
toggleButton.textContent = '🌙';
localStorage.setItem('theme', 'light');
}
});
</script>
<div class="">
<!-- Login Modal -->
<div id="myModal" class="modal">
<div class="modal-content">
<span class="close" style="display: flex; justify-content: right;">×</span>
<div class="mt-3">
<h3 class="join"><i class="fa-solid fa-right-to-bracket"></i> Login to join us....</h3>
<form class="px-3 py-4" id="loginForm">
<div class="form-group">
<label class="d-flex">Username</label>
<input type="text" placeholder="Username" class="form-control" required />
</div>
<div class="form-group">
<label class="d-flex">Password</label>
<input type="password" placeholder="Password" class="form-control" required>
<button type="button" class="toggle-password-btn"><i class="fa-solid fa-eye"></i></button>
</div>
<div class="form-check d-flex">
<input type="checkbox" class="form-check-input me-1" style="margin-top: 0;">
<label class="form-check-label" style="margin-bottom: 0;">Remember me</label>
<a href="#" id="forgot-password" style="margin-left: 90px;">Forget Password?</a>
</div>
<div style="height: 20px;"></div>
<button class="main-btn w-100 mb-3" onclick="submitForm('loginForm')">Sign in</button>
<p class="text-center">Don't have an account? <a href="#" id="registerLink">Register</a></p>
<div class="or-sign-in-with text-center">
<p>Or sign in with</p>
</div>
<div class="social-icons mt-3">
<ul class="list-inline">
<li><a href="#" class="google" id="google-login"><i class="fa-brands fa-google"></i></a></li>
<li><a href="#" class="facebook" id="facebook-login"><i class="fa-brands fa-facebook-f"></i></a></li>
<li><a href="#" class="twitter" id="twitter-login"><i class="fa-brands fa-twitter"></i></a></li>
</ul>
</div>
</form>
</div>
</div>
</div>
<!-- Social Media Login Scripts -->
<script>
document.getElementById('google-login').addEventListener('click', function() {
window.location.href = 'https://accounts.google.com/o/oauth2/auth?client_id=YOUR_CLIENT_ID&redirect_uri=YOUR_REDIRECT_URI&response_type=code&scope=profile email';
});
document.getElementById('facebook-login').addEventListener('click', function() {
window.location.href = 'https://www.facebook.com/v13.0/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=YOUR_REDIRECT_URI&response_type=code&scope=public_profile email';
});
document.getElementById('twitter-login').addEventListener('click', function() {
window.location.href = 'https://twitter.com/i/oauth2/authorize?client_id=YOUR_CLIENT_ID&redirect_uri=YOUR_REDIRECT_URI&response_type=code&scope=users.read';
});
</script>
<!-- Register Modal -->
<div id="registerModal" class="modal">
<div class="modal-content">
<span class="close" style="display: flex; justify-content: right;">×</span>
<div class="mt-3">
<h3 class="join"><i class="fa-solid fa-user"></i> Register to join us....</h3>
<form class="px-3 py-4" id="registerForm">
<div class="form-group">
<label class="d-flex">Email</label>
<input type="email" placeholder="Email" class="form-control" required />
</div>
<div class="form-group">
<label class="d-flex">Username</label>
<input type="text" placeholder="Username" class="form-control" required />
</div>
<div class="form-group">
<label class="d-flex">Password</label>
<input type="password" placeholder="Password" class="form-control" id="register-password" required oninput="checkPasswordStrength()">
<button type="button" class="toggle-password-btn" onclick="togglePasswordVisibility('register-password')">
<i class="fa-solid fa-eye"></i>
<i class="fa-solid fa-eye-slash" style="display: none;"></i>
</button>
</div>
<div id="password-meter" style="display: none; margin-top: 5px;">
<div id="meter" style="height: 10px; background-color: #ccc; border-radius: 5px; transition: width 0.3s;"></div>
<div id="strength-text" style="margin-top: 5px; font-weight: bold;"></div>
</div>
<button class="main-btn mt-2 w-100 mb-3" onclick="submitForm('registerForm')">Register</button>
<p class="text-center">Already have an account? <a href="#" id="loginLink">Login</a></p>
<div class="or-sign-in-with text-center">
<p>Or sign up with</p>
</div>
<div class="social-icons mt-3">
<ul class="list-inline">
<li><a href="#" class="google" id="google-signup"><i class="fa-brands fa-google"></i></a></li>
<li><a href="#" class="facebook" id="facebook-signup"><i class="fa-brands fa-facebook-f"></i></a></li>
<li><a href="#" class="twitter" id="twitter-signup"><i class="fa-brands fa-twitter"></i></a></li>
</ul>
</div>
</form>
</div>
</div>
</div>
<!-- Password Strength Check Script -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/zxcvbn/4.4.2/zxcvbn.js"></script>
<script>
function checkPasswordStrength() {
const password = document.getElementById('register-password').value;
const meter = document.getElementById('meter');
const meterContainer = document.getElementById('password-meter');
const strengthText = document.getElementById('strength-text');
if (password) {
meterContainer.style.display = 'block';
const result = zxcvbn(password);
const score = result.score;
meter.style.width = (score + 1) * 20 + '%';
meter.style.backgroundColor = getMeterColor(score);
strengthText.innerText = getStrengthText(score);
} else {
meterContainer.style.display = 'none';
strengthText.innerText = '';
}
}
function getMeterColor(score) {
switch (score) {
case 0: return 'red';
case 1: return 'orange';
case 2: return 'yellow';
case 3: return 'blue';
case 4: return 'green';
default: return 'gray';
}
}
function getStrengthText(score) {
switch (score) {
case 0: return 'Very Weak';
case 1: return 'Weak';
case 2: return 'Fair';
case 3: return 'Strong';
case 4: return 'Very Strong';
default: return '';
}
}
function togglePasswordVisibility(id) {
const passwordInput = document.getElementById(id);
const eyeIcon = passwordInput.nextElementSibling;
if (passwordInput.type === 'password') {
passwordInput.type = 'text';
eyeIcon.children[0].style.display = 'none';
eyeIcon.children[1].style.display = 'inline';
} else {
passwordInput.type = 'password';
eyeIcon.children[0].style.display = 'inline';
eyeIcon.children[1].style.display = 'none';
}
}
</script>
<!-- Social Media Signup Scripts -->
<script>
document.getElementById('google-signup').addEventListener('click', function() {
window.location.href = 'https://accounts.google.com/o/oauth2/auth?client_id=YOUR_CLIENT_ID&redirect_uri=YOUR_REDIRECT_URI&response_type=code&scope=profile email';
});
document.getElementById('facebook-signup').addEventListener('click', function() {
window.location.href = 'https://www.facebook.com/v13.0/dialog/oauth?client_id=YOUR_APP_ID&redirect_uri=YOUR_REDIRECT_URI&response_type=code&scope=public_profile email';
});
document.getElementById('twitter-signup').addEventListener('click', function() {
window.location.href = 'https://twitter.com/i/oauth2/authorize?client_id=YOUR_CLIENT_ID&redirect_uri=YOUR_REDIRECT_URI&response_type=code&scope=users.read';
});
</script>
<!-- Modal Control Scripts -->
<script>
function openModal() {
var modal = document.getElementById("myModal");
modal.style.display = "block";
}
var loginCloseButton = document.querySelector("#myModal .close");
loginCloseButton.addEventListener("click", function() {
var modal = document.getElementById("myModal");
modal.style.display = "none";
});
var registerCloseButton = document.querySelector("#registerModal .close");
registerCloseButton.addEventListener("click", function() {
var modal = document.getElementById("registerModal");
modal.style.display = "none";
});
var registerLink = document.getElementById("registerLink");
registerLink.addEventListener("click", function() {
var registerModal = document.getElementById("registerModal");
registerModal.style.display = "block";
var loginModal = document.getElementById("myModal");
loginModal.style.display = "none";
});
var loginLink = document.getElementById("loginLink");
loginLink.addEventListener("click", function() {
var loginModal = document.getElementById("myModal");
loginModal.style.display = "block";
var registerModal = document.getElementById("registerModal");
registerModal.style.display = "none";
});
</script>
</div>
</nav>
<link href="https://fonts.googleapis.com/css?family=Raleway&display=swap" rel="stylesheet">
<nav class="mobile-menu ">
<a class="page-scroll" href="./index.html">Home 🏡</a>
<a class="page-scroll" href="./about.html">About Us 📖</a>
<a class="page-scroll" href="./trends.html">Trends 📈</a>
<a class="page-scroll" href="./tools/sip.html">Tools 🔧</a>
<a class="page-scroll" href="./blog.html">Blogs 📰</a>
<a class="page-scroll" href="./quiz.html">Quiz 🤔</a>
<a class="page-scroll main-btn" href="#" onclick="openModal()" onmouseout="this.style.color='white'">Login/Register 💻</a>
<li class="nav-item no-underline">
<button id="theme-toggle2" class="theme-toggle2" style="margin-right: 2px;">
🌙
</button>
</li>
<div class="mobile-menu__trigger" onclick="toggleMobileMenu()">
<span></span>
</div>
</nav>
<script>
const toggleBtn = document.getElementById('theme-toggle2');
var body = document.body;
var currentTheme = localStorage.getItem('theme');
if (currentTheme === 'dark') {
body.classList.add('dark-mode');
toggleBtn.classList.add('dark');
toggleBtn.textContent = '🌞';
}
toggleBtn.addEventListener('click', function () {
body.classList.toggle('dark-mode');
toggleBtn.classList.toggle('dark');
// Update button icon based on mode
if (body.classList.contains('dark-mode')) {
toggleBtn.textContent = '🌞'; // Light mode icon
localStorage.setItem('theme', 'dark');
} else {
toggleBtn.textContent = '🌙'; // Dark mode icon
localStorage.setItem('theme', 'light');
}
});
</script>
<link href="./navbar.css" rel="stylesheet">
<script type="text/javascript" src="./navbar.js"></script>
</div>
</div>
</div>
</div>
</header>
<style>
:root {
--primary-color: #1e40af;
--secondary-color: #60a5fa;
--background-color: #f0f9ff;
--text-color: #1e293b;
}
body {
font-family: 'Arial', sans-serif;
margin: 0;
padding: 20px;
background-color: var(--background-color);
color: var(--text-color);
}
.review-container {
max-width: 1200px;
margin: 80px auto;
padding: 20px;
}
.tab-container {
display: flex;
gap: 20px;
margin-bottom: 30px;
}
.tab {
padding: 12px 24px;
background: white;
border: 2px solid var(--primary-color);
border-radius: 8px;
cursor: pointer;
font-weight: bold;
transition: all 0.3s ease;
}
.tab.active {
background: var(--primary-color);
color: white;
}
.content-section {
display: none;
background: white;
padding: 30px;
border-radius: 12px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.content-section.active {
display: block;
}
.form-group {
margin-bottom: 20px;
}
.form-group label {
display: block;
margin-bottom: 8px;
font-weight: bold;
}
.form-group input,
.form-group textarea,
.form-group select {
width: 100%;
padding: 12px;
border: 1px solid #ccc;
border-radius: 6px;
font-size: 16px;
}
.story-item, .review-item {
background: white;
padding: 20px;
margin-bottom: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.story-item img {
max-width: 100%;
height: auto;
border-radius: 8px;
margin: 10px 0;
}
.submit-btn {
background: var(--primary-color);
color: white;
padding: 12px 24px;
border: none;
border-radius: 6px;
cursor: pointer;
font-weight: bold;
transition: background 0.3s ease;
}
.submit-btn:hover {
background: var(--secondary-color);
}
.star-rating {
display: flex;
flex-direction: row-reverse;
gap: 4px;
}
.star-rating input {
display: none;
}
.star-rating label {
font-size: 30px;
color: #ddd;
cursor: pointer;
}
.star-rating input:checked ~ label {
color: #ffd700;
}
.category-tag {
display: inline-block;
padding: 4px 12px;
background: var(--secondary-color);
color: white;
border-radius: 20px;
font-size: 14px;
margin-right: 8px;
}
.metrics {
display: flex;
gap: 20px;
margin-top: 10px;
color: #666;
font-size: 14px;
}
.notification {
position: fixed;
top: 20px;
right: 20px;
padding: 15px 25px;
background: var(--primary-color);
color: white;
border-radius: 6px;
animation: slideIn 0.5s ease;
}
@keyframes slideIn {
from {
transform: translateX(100%);
opacity: 0;
}
to {
transform: translateX(0);
opacity: 1;
}
}
</style>
</head>
<body>
<main>
<section id="user-content" class="review-container" style="margin-top: 70px;">
<div class="tab-container" style="margin-top: 30px;">
<button class="tab active" data-tab="user-stories">Financial Success Stories</button>
<button class="tab" data-tab="reviews">Learning Resources Reviews</button>
</div>
<div class="content-container">
<div id="user-stories" class="content-section active">
<h2><span id="typing-effect">Share Your Financial Success Story</span></h2>
<form id="storyForm">
<div class="form-group">
<label for="storyTitle">Success Story Title:</label>
<input type="text" id="storyTitle" placeholder="e.g., How I Became Debt-Free in 2 Years" required>
</div>
<div class="form-group">
<label for="storyCategory">📂Category:</label>
<select id="storyCategory" required>
<option value="investing">Investing Success</option>
<option value="saving">Saving Strategy</option>
<option value="debt-free">Debt Freedom</option>
<option value="budgeting">Budgeting Win</option>
<option value="wealth-building">Wealth Building</option>
</select>
</div>
<div class="form-group">
<label for="storyText">📖Your Journey:</label>
<textarea id="storyText" rows="6" placeholder="Share your financial journey and success tips..." required></textarea>
</div>
<div class="form-group">
<label for="storyImage">📷Upload a Relevant Image:</label>
<input type="file" id="storyImage" accept="image/*" required>
</div>
<button type="submit" class="submit-btn">Share Your Success</button>
</form>
<div id="storyGallery" class="gallery"></div>
</div>
<div id="reviews" class="content-section">
<h2>Review Financial Learning Resources</h2>
<form id="reviewForm">
<div class="form-group">
<label for="resourceType">Resource Type:</label>
<select id="resourceType" required>
<option value="course">Financial Course</option>
<option value="book">Finance Book</option>
<option value="tool">Financial Tool/App</option>
<option value="mentor">Financial Mentor/Advisor</option>
</select>
</div>
<div class="form-group">
<label for="resourceName">Resource Name:</label>
<input type="text" id="resourceName" placeholder="e.g., Personal Finance Masterclass" required>
</div>
<div class="form-group">
<label for="reviewText">Your Review:</label>
<textarea id="reviewText" rows="6" placeholder="Share your experience with this financial resource..." required></textarea>
</div>
<div class="form-group">
<label for="learningOutcome">Key Learning Outcome:</label>
<input type="text" id="learningOutcome" placeholder="e.g., Learned to create a diversified investment portfolio" required>
</div>
<div class="form-group">
<label>Rating:</label>
<div class="star-rating">
<input type="radio" id="star5" name="rating" value="5" checked/>
<label for="star5">★</label>
<input type="radio" id="star4" name="rating" value="4" />
<label for="star4">★</label>
<input type="radio" id="star3" name="rating" value="3" />
<label for="star3">★</label>
<input type="radio" id="star2" name="rating" value="2" />
<label for="star2">★</label>
<input type="radio" id="star1" name="rating" value="1" />
<label for="star1">★</label>
</div>
</div>
<button type="submit" class="submit-btn">Submit Review</button>
</form>
<div id="reviewList"></div>
</div>
</div>
</section>
</main>
<style>/* Main container styling */
/* Container and General Styles */
.review-container {
border: 3px solid rgb(70, 130, 180); /* Steel Blue */
max-width: 70%;
margin: 20px auto;
background: linear-gradient(135deg, #ebf8ff, #cfe9f3); /* Light Blue Gradient */
border-radius: 12px;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
padding: 25px;
color: #333;
font-family: Arial, sans-serif;
animation: fadeIn 0.8s ease-in-out;
}
/* Smooth fade-in effect */
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
/* Tab navigation styling */
.review-container .tab-container {
display: flex;
justify-content: space-around;
margin-bottom: 20px;
}
.review-container .tab {
padding: 10px 20px;
background-color: #e0f7fa; /* Light Cyan */
color: #004d40; /* Dark Teal */
border: 2px solid rgb(0, 128, 128); /* Teal */
font-weight: bold;
border-radius: 8px;
cursor: pointer;
border: none;
transition: background-color 0.4s ease, transform 0.3s ease;
}
.review-container .tab.active,
.review-container .tab:hover {
background-color: #b2ebf2; /* Lighter Cyan */
color: #004d40; /* Dark Teal */
transform: scale(1.05);
}
/* Content sections */
.review-container .content-container .content-section {
display: none;
animation: slideUp 0.8s ease-in-out;
}
.review-container .content-container .content-section.active {
display: block;
}
/* Slide-up effect */
@keyframes slideUp {
from { transform: translateY(20px); opacity: 0; }
to { transform: translateY(0); opacity: 1; }
}
/* Form styling */
.review-container .form-group {
margin-bottom: 15px;
}
.review-container .form-group label {
display: block;
font-weight: bold;
color: #004d40; /* Dark Teal */
margin-bottom: 5px;
}
/* Input fields styling */
.review-container .form-group input[type="text"],
.review-container .form-group select,
.review-container .form-group textarea {
width: 100%;
padding: 12px;
border-radius: 8px;
border: 2px solid #ddd; /* Grey */
background-color: rgba(255, 255, 255, 0.8); /* Semi-transparent White */
transition: background-color 0.3s ease, transform 0.2s ease, border-color 0.3s ease;
}
/* Focus and hover effects for input fields */
.review-container .form-group input[type="text"]:focus,
.review-container .form-group select:focus,
.review-container .form-group textarea:focus {
background-color: #b2ebf2; /* Lighter Cyan */
outline: none;
border-color: #00796b; /* Darker Teal */
transform: scale(1.02);
}
/* File input styling */
.review-container .form-group input[type="file"] {
padding: 8px;
border-radius: 6px;
border: 2px solid #ddd; /* Grey */
transition: border-color 0.3s ease, transform 0.2s ease;
}
.review-container .form-group input[type="file"]:hover {
border-color: #00796b; /* Darker Teal */
transform: scale(1.02);
}
/* Submit button */
.review-container .submit-btn {
width: 100%;
padding: 12px;
border: none;
background: linear-gradient(135deg, #00796b, #004d40); /* Darker Teal to Dark Teal */
color: #ffffff;
font-weight: bold;
border-radius: 8px;
cursor: pointer;
box-shadow: 0 4px 8px rgba(0, 128, 128, 0.3);
transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.2s;
}
.review-container .submit-btn:hover {
background: linear-gradient(135deg, #004d40, #00796b); /* Dark Teal to Darker Teal */
box-shadow: 0 6px 12px rgba(0, 128, 128, 0.4);
transform: scale(1.05);
}
/* Star rating */
.review-container .star-rating label {
font-size: 1.5rem;
color: #ccc; /* Light Grey */
cursor: pointer;
transition: color 0.2s ease;
}
.review-container .star-rating input[type="radio"]:checked ~ label,
.review-container .star-rating label:hover,
.review-container .star-rating label:hover ~ label {
color: #ffb400; /* Yellow */
}
/* Form group styling within the gradient form */
.review-container .content-section form .form-group input[type="text"],
.review-container .content-section form .form-group select,
.review-container .content-section form .form-group textarea {
background-color: rgba(255, 255, 255, 0.85); /* Slightly transparent White */
border: 2px solid rgba(0, 0, 0, 0.1);
transition: background-color 0.3s ease, transform 0.2s, border-color 0.3s ease;
}
.review-container .content-section form .form-group input[type="text"]:focus,
.review-container .content-section form .form-group select:focus,
.review-container .content-section form .form-group textarea:focus {
background-color: #b2ebf2; /* Lighter Cyan */
border-color: #00796b; /* Darker Teal */
transform: scale(1.02);
}
/* Section Title */
.content-container h2 {
margin-bottom: 12px;
font-size: xx-large;
color: #004d40; /* Dark Teal */
animation: fadeIn 1s ease-in-out;
}
/* Typing effect styling */
@keyframes typing {
from { width: 0; }
to { width: 100%; }
}
@keyframes blink {
50% { border-color: transparent; }
}
#typing-effect {
display: inline-block;
white-space: nowrap;
overflow: hidden;
border-right: 2px solid #004d40; /* Cursor color */
font-size: xx-large;
animation: typing 0.5s steps(30, end), blink 0.6s infinite;
}
</style>
<script>
class TypingEffect {
constructor(elementId, text, typingSpeed = 100) {
this.textElement = document.getElementById(elementId);
this.text = text;
this.typingSpeed = typingSpeed;
this.index = 0;
}
// Function to type out the text
type() {
if (this.index < this.text.length) {
this.textElement.innerHTML += this.text.charAt(this.index);
this.index++;
setTimeout(() => this.type(), this.typingSpeed);
}
}
// Start the typing effect and clear any existing content first
start() {
this.textElement.innerHTML = ''; // Clear any previous content
this.type(); // Start typing the text
}
}
// Initialize and start the typing effect
document.addEventListener("DOMContentLoaded", () => {
const typingEffect = new TypingEffect("typing-effect", "Share Your Financial Success Story", 100);
typingEffect.start();
});
</script>
<footer id="footer" class="footer-area pt-120">
<div class="container">
<div class="subscribe-area wow fadeIn" data-wow-duration="1s" data-wow-delay="0.5s">
<div class="row">
<div class="col-lg-6">
<div class="subscribe-content mt-45">
<h2 class="subscribe-title">
Subscribe Our Newsletter <span>Get Regular Updates</span>
</h2>