forked from ayush-that/FinVeda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
quiz.html
395 lines (393 loc) · 17.1 KB
/
quiz.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
<!DOCTYPE html>
<html class="no-js" lang="en">
<head>
<meta charset="utf-8" />
<title>Login/Register - FinVeda</title>
<meta name="description" content="" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="shortcut icon"
href="./assets/images/favicon.ico"
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" />
</head>
<body>
<div class="preloader">
<div class="loader">
<div class="ytp-spinner">
<div class="ytp-spinner-container">
<div class="ytp-spinner-rotator">
<div class="ytp-spinner-left">
<div class="ytp-spinner-circle"></div>
</div>
<div class="ytp-spinner-right">
<div class="ytp-spinner-circle"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<header class="header-area">
<div class="navbar-area">
<div class="container">
<div class="row">
<div class="col-lg-12">
<nav class="navbar navbar-expand-lg">
<button
class="navbar-toggler"
type="button"
data-toggle="collapse"
data-target="#navbarSupportedContent"
aria-controls="navbarSupportedContent"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="toggler-icon"></span>
<span class="toggler-icon"></span>
<span class="toggler-icon"></span>
</button>
<div
class="collapse navbar-collapse sub-menu-bar"
id="navbarSupportedContent"
>
<ul id="nav" class="navbar-nav ml-auto">
<li class="nav-item">
<a class="page-scroll" href="./index.html">Home 🏡</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./trends.html">Trends 📈</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./tools/sip.html"
>Tools 🔧</a
>
</li>
<li class="nav-item">
<a class="page-scroll" href="./blog.html">Blogs 📰</a>
</li>
<li class="nav-item">
<a class="page-scroll" href="./quiz.html" id="active-page">Quiz 🤔</a>
</li>
</ul>
</div>
<div class="navbar-btn d-none d-sm-inline-block">
<div id="myModal" class="modal">
<!-- Modal content -->
<div class="modal-content">
<span class="close d-flex justify-content-end">×</span>
<div class="mt-3"><p><h3 class="join">Login to join us....</h3></p>
<form class="px-3 py-4">
<div class="form-group">
<label class="d-flex">Username</label>
<input type="text" placeholder="Username" class="form-control"/>
</div>
<div class="form-group">
<label class="d-flex">Password</label>
<input type="text" placeholder="Password" class="form-control"/>
</div>
<div class="form-check d-flex">
<input type="checkbox" class="form-check-input" >
<label class="form-check-label">
Remember me
</label>
</div>
</form>
<button class="main-btn mt-2 w-100 mb-3">Sign in</button></div>
</div>
</div>
<a class="main-btn" data-scroll-nav="0" href="#"
onclick="openModal()" >Login/Register 💻</a
>
</div>
</nav>
</div>
</div>
</div>
</div>
<div
id="home"
class="header-hero bg_cover"
style="background-image: url(../assets/images/banner-bg.svg)"
>
<div class="container">
<div class="row justify-content-center">
<div class="col-lg-8">
<div class="header-hero-content text-center">
<h3
class="header-sub-title wow fadeInUp"
data-wow-duration="1.3s"
data-wow-delay="0.2s"
>
Say 👋🏼 to FinVeda
</h3>
<h2
class="header-title wow fadeInUp"
data-wow-duration="1.3s"
data-wow-delay="0.5s"
>
your savvy financial companion
</h2>
<p
class="text wow fadeInUp"
data-wow-duration="1.3s"
data-wow-delay="0.8s"
>
Wanna learn how to grow your money to become rich? We have
made becoming a stock market Guru easy with our AI
powered finance advisor - <b>Arth Sathi 🤵🏻</b>
</p>
<a
href="./index.html"
class="main-btn wow fadeInUp"
data-wow-duration="1.3s"
data-wow-delay="1.1s"
>Chat with ArthaSathi 💬</a
>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-12">
<div
class="header-hero-image text-center wow fadeIn"
data-wow-duration="1.3s"
data-wow-delay="1.4s"
>
<img src="../assets/images/header-hero.png" alt="hero" />
</div>
</div>
</div>
</div>
<div id="particles-1" class="particles"></div>
</div>
</header>
<div class="blog-content">
<br><br><br><br>
<p></p>
<h2>Test you knowledge</h2>
</p><br>
<form id="financeQuizForm">
<!-- Question 1 -->
<label>1. What is the primary purpose of creating a budget?</label><br>
<input type="radio" name="q1" value="A"> A. To restrict spending<br>
<input type="radio" name="q1" value="B"> B. To track income and expenses<br>
<input type="radio" name="q1" value="C"> C. To increase debt<br>
<input type="radio" name="q1" value="D"> D. To eliminate savings<br>
<br>
<!-- Question 2 -->
<label>2. Why is maintaining an emergency fund important?</label><br>
<input type="radio" name="q2" value="A"> A. It earns high interest<br>
<input type="radio" name="q2" value="B"> B. It provides investment opportunities<br>
<input type="radio" name="q2" value="C"> C. It covers unexpected expenses<br>
<input type="radio" name="q2" value="D"> D. It helps build credit<br>
<br>
<!-- Credit and Debt -->
<!-- Question 3 -->
<label>3. What is a credit score based on?</label><br>
<input type="radio" name="q3" value="A"> A. Monthly income<br>
<input type="radio" name="q3" value="B"> B. Number of credit cards<br>
<input type="radio" name="q3" value="C"> C. Payment history and debt utilization<br>
<input type="radio" name="q3" value="D"> D. Social media activity<br>
<br>
<!-- Question 4 -->
<label>4. How does compound interest affect debt?</label><br>
<input type="radio" name="q4" value="A"> A. It reduces interest over time<br>
<input type="radio" name="q4" value="B"> B. It increases debt exponentially<br>
<input type="radio" name="q4" value="C"> C. It only applies to savings accounts<br>
<input type="radio" name="q4" value="D"> D. It has no impact on debt<br>
<br>
<!-- Question 5 -->
<label>5. What is the primary purpose of diversification in an investment portfolio?</label><br>
<input type="radio" name="q5" value="A"> A. To maximize returns<br>
<input type="radio" name="q5" value="B"> B. To minimize risk<br>
<input type="radio" name="q5" value="C"> C. To focus on a single investment<br>
<input type="radio" name="q5" value="D"> D. To avoid taxes<br>
<br>
<!-- Question 6 -->
<label>6. What is a stock?</label><br>
<input type="radio" name="q6" value="A"> A. A type of bond<br>
<input type="radio" name="q6" value="B"> B. Ownership in a company<br>
<input type="radio" name="q6" value="C"> C. A savings account<br>
<input type="radio" name="q6" value="D"> D. A loan to the government<br>
<br>
<!-- Question 7 -->
<label>7. Why is starting to save for retirement early advantageous?</label><br>
<input type="radio" name="q7" value="A"> A. Early savers receive higher interest rates<br>
<input type="radio" name="q7" value="B"> B. Retirement accounts are only available to young savers<br>
<input type="radio" name="q7" value="C"> C. Compounding can work over a longer period<br>
<input type="radio" name="q7" value="D"> D. Early savers pay fewer taxes<br>
<br>
<!-- Question 8 -->
<label>8. What is the main difference between a 401(k) and an IRA?</label><br>
<input type="radio" name="q8" value="A"> A. Contribution limits<br>
<input type="radio" name="q8" value="B"> B. Eligibility criteria<br>
<input type="radio" name="q8" value="C"> C. Investment options<br>
<input type="radio" name="q8" value="D"> D. Tax treatment<br>
<br>
<!-- Question 9 -->
<label>9. Why is health insurance important?</label><br>
<input type="radio" name="q9" value="A"> A. It helps save for retirement<br>
<input type="radio" name="q9" value="B"> B. It covers unexpected expenses<br>
<input type="radio" name="q9" value="C"> C. It protects against medical costs<br>
<input type="radio" name="q9" value="D"> D. It provides life coverage<br>
<br>
<!-- Question 10 -->
<label>10. What does life insurance primarily provide?</label><br>
<input type="radio" name="q10" value="A"> A. Investment returns<br>
<input type="radio" name="q10" value="B"> B. Retirement income<br>
<input type="radio" name="q10" value="C"> C. Death benefit to beneficiaries<br>
<input type="radio" name="q10" value="D"> D. Home insurance<br>
<br>
<button type="button" class="submit-button" onclick="gradeQuiz()">Submit Answers</button>
<div id="quizResult"></div>
</form>
<br><br>
<div id="quizResult"></div>
</div>
<style>
.blog-content {
text-align: left;
margin-left: auto;
margin-right: auto;
max-width: 80%; /* Adjust this value to increase or decrease the margins */
}
</style>
</body>
<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>
</div>
</div>
<div class="col-lg-6">
<div class="subscribe-form mt-50">
<form action="#">
<input type="text" placeholder="Enter Email" />
<button class="main-btn" onclick="event.preventDefault(); openModal();">Subscribe</button>
</form>
</div>
</div>
</div>
</div>
<div class="footer-widget pb-100">
<div class="row">
<div class="col-lg-4 col-md-6 col-sm-8">
<div
class="footer-about mt-50 wow fadeIn"
data-wow-duration="1s"
data-wow-delay="0.2s"
>
<p class="text">
We at FinVeda aim to make you a stock market Guru easy with our AI powered teaching and financial blogs.
</p>
</div>
</div>
<div class="col-lg-5 col-md-7 col-sm-7">
<div class="footer-link d-flex mt-50 justify-content-md-between">
<div
class="link-wrapper wow fadeIn"
data-wow-duration="1s"
data-wow-delay="0.4s"
>
<div class="footer-title">
<h4 class="title">Quick Link</h4>
</div>
<ul class="link">
<li><a href="./blogs/privacy-policy.html">Privacy Policy</a></li>
<li><a href="./blogs/refund-policy.html">Refund Policy</a></li>
<li><a href="./blogs/terms-of-service.html">Terms of Service</a></li>
</ul>
</div>
<div
class="link-wrapper wow fadeIn"
data-wow-duration="1s"
data-wow-delay="0.6s"
>
<div class="footer-title">
<h4 class="title">Resources</h4>
</div>
<ul class="link">
<li><a href="./index.html">Home</a></li>
<li><a href="./login.html">Page</a></li>
<li><a href="./blog.html">Blog</a></li>
</ul>
</div>
</div>
</div>
<div class="col-lg-3 col-md-5 col-sm-5">
<div
class="footer-contact mt-50 wow fadeIn"
data-wow-duration="1s"
data-wow-delay="0.8s"
>
<div class="footer-title">
<h4 class="title">Contact Us</h4>
</div>
<ul class="contact">
<li>ayush1337@hotmail.com</li>
<li>fin-veda.vercel.app</li>
<li>
Delhi, India
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="footer-copyright">
<div class="row">
<div class="col-lg-12">
<div class="copyright d-sm-flex justify-content-between">
<div class="copyright-content">
<p class="text">
© <span id="copyright-year"></span> FinVeda. All rights reserved, Built with ♥ in India
</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div id="particles-2"></div>
</footer>
<script>document.getElementById("copyright-year").textContent = new Date().getFullYear();</script>
<a href="#" class="back-to-top"><i class="lni-chevron-up"></i></a>
<script src="../assets/js/vendor/jquery-1.12.4.min.js"></script>
<script src="../assets/js/vendor/modernizr-3.7.1.min.js"></script>
<script src="../assets/js/popper.min.js"></script>
<script src="../assets/js/bootstrap.min.js"></script>
<script src="../assets/js/plugins.js"></script>
<script src="../assets/js/slick.min.js"></script>
<script src="../assets/js/ajax-contact.js"></script>
<script src="../assets/js/waypoints.min.js"></script>
<script src="../assets/js/jquery.counterup.min.js"></script>
<script src="../assets/js/jquery.magnific-popup.min.js"></script>
<script src="../assets/js/jquery.easing.min.js"></script>
<script src="../assets/js/scrolling-nav.js"></script>
<script src="../assets/js/wow.min.js"></script>
<script src="../assets/js/particles.min.js"></script>
<script src="../assets/js/main.js"></script>
<script src="../assets/js/quiz.js"></script>
<script src="../assets/js/popup.js"></script>
</body>
</html>