Operation: Take Control of Your Money: 
Every successful mission starts with a plan. Your first assignment is to uncover where your money comes from, where it goes, and how to put every dollar to work. Master the basics of budgeting and build your first line of defense against financial chaos.

Lesson 13: Growing Money Through Investing

Watch at least 95% of the lesson video to unlock your Money Agent Quiz.

Mission Video Progress 0%

Keep watching! Your quiz unlocks after you watch 95% of the lesson.

🔒

Quiz Locked

Watch at least 95% of the video to unlock your quiz.

`; q.choices.forEach(function(choice,choiceIndex){ html += ` `; }); html += `
`; }); container.innerHTML = html; } /* ===================================== GRADE QUIZ ===================================== */ window.gradeLesson13Quiz = function(){ var score = 0; var unanswered = 0; questions.forEach(function(q,index){ var selected = document.querySelector( 'input[name="lesson13q' + index + '"]:checked' ); var feedback = document.getElementById( "lesson13feedback" + index ); if(!selected){ unanswered++; feedback.style.display = "block"; feedback.style.background = "#fff7ed"; feedback.style.color = "#9a3412"; feedback.innerHTML = " Please answer this question."; return; } var selectedAnswer = parseInt(selected.value); if(selectedAnswer === q.answer){ score++; feedback.style.display = "block"; feedback.style.background = "#ecfdf5"; feedback.style.color = "#166534"; feedback.innerHTML = " ✓ Correct!
" + q.explanation; } else { feedback.style.display = "block"; feedback.style.background = "#fef2f2"; feedback.style.color = "#991b1b"; feedback.innerHTML = " ✗ Not quite.
" + q.explanation; } }); var result = document.getElementById("quizResult13"); if(unanswered > 0){ result.style.display = "block"; result.style.background = "#fff7ed"; result.style.color = "#9a3412"; result.innerHTML = `

Almost Ready!

Please answer all 8 questions before completing your mission.

`; result.scrollIntoView({ behavior:"smooth", block:"center" }); return; } var percentage = Math.round( (score / questions.length) * 100 ); result.style.display = "block"; /* PASS */ if(percentage >= 70){ result.style.background = "#ecfdf5"; result.style.color = "#166534"; result.innerHTML = `
📈

Mission Complete!

${percentage}%

You answered ${score} out of 8 questions correctly.

Great work, Money Agent! You understand that investing may help money grow over time, but investments also involve risk.

Learn about the investment, understand the risk, and think about your financial goals!`; } /* NOT PASSED */ else { result.style.background = "#fef2f2"; result.style.color = "#991b1b"; result.innerHTML = `
🎯

Keep Training, Money Agent!

${percentage}%

You answered ${score} out of 8 questions correctly.

You need at least 70% to complete this mission. Review investing and risk and try again.

`; } result.scrollIntoView({ behavior:"smooth", block:"center" }); }; /* ===================================== RESET QUIZ ===================================== */ window.resetLesson13Quiz = function(){ document.querySelectorAll( '#yfs-lesson13 input[type="radio"]' ).forEach(function(input){ input.checked = false; }); questions.forEach(function(q,index){ var feedback = document.getElementById( "lesson13feedback" + index ); feedback.style.display = "none"; feedback.innerHTML = ""; }); document.getElementById("quizResult13") .style.display = "none"; document.getElementById("quizSection13") .scrollIntoView({ behavior:"smooth" }); }; buildQuiz(); })();