Students will bring together the financial skills they have learned throughout the Money Agent series. They will practice making a simple money plan that includes earning, spending, saving, giving, protecting money, and thinking about future goals.
🏆

Lesson 15: Build Your Money Plan

The Final Money Agent Mission

Watch at least 95% of the lesson video to unlock your Final Mission Quiz.

Final Mission Video Progress 0%

Complete at least 95% of your final training video to unlock the Final Mission Quiz.

🔒

Final Mission Locked

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

`; q.choices.forEach(function(choice,choiceIndex){ html += ` `; }); html += `
`; }); container.innerHTML = html; } /* ===================================== GRADE FINAL QUIZ ===================================== */ window.gradeLesson15Quiz = function(){ var score = 0; var unanswered = 0; questions.forEach(function(q,index){ var selected = document.querySelector( 'input[name="lesson15q' + index + '"]:checked' ); var feedback = document.getElementById( "lesson15feedback" + 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( "quizResult15" ); if(unanswered > 0){ result.style.display = "block"; result.style.background = "#fff7ed"; result.style.color = "#9a3412"; result.innerHTML = `

Final Mission Not Finished Yet

Please answer all 8 questions before submitting your final mission.

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

CONGRATULATIONS, MONEY AGENT!

Training Complete

${percentage}%

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

You have successfully completed your final Money Agent mission!

You've learned about earning, needs and wants, spending, saving, budgeting, banking, interest, borrowing, credit, protecting money, investing, and entrepreneurship.

Your mission continues: Make smart money choices, keep learning, and use your financial skills to build your future!
`; } /* ===================================== NOT PASSED ===================================== */ else { result.style.background = "#fef2f2"; result.style.color = "#991b1b"; result.innerHTML = `
🎯

One More Training Round, Agent!

${percentage}%

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

You need at least 70% to complete your final mission. Review what you've learned and try again.

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