In this lesson students will learn about saving money and setting financial goals. Students will discover how saving small amounts consistently can help them reach larger goals and why saving before spending can be a helpful financial habit.

Lesson 5: Saving for Something Special

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.gradeLesson5Quiz = function(){ var score = 0; var unanswered = 0; questions.forEach(function(q,index){ var selected = document.querySelector( 'input[name="lesson5q' + index + '"]:checked' ); var feedback = document.getElementById( "lesson5feedback" + 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("quizResult5"); 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.

`; 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 know how to choose a savings goal, save small amounts consistently, and track your progress.

Keep saving. Small steps can lead to big 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 what you learned and try again.

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