In this lesson students will learn about the difference between needs and wants. Students will identify things people need to live and things they may simply want and practice making smart choices when there is not enough money to purchase everything.

Lesson 3: Needs vs. Wants

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.gradeLesson3Quiz = function(){ var score = 0; var unanswered = 0; questions.forEach(function(q,index){ var selected = document.querySelector( 'input[name="lesson3q' + index + '"]:checked' ); var feedback = document.getElementById( "lesson3feedback" + 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("quizResult3"); 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 the difference between needs and wants and understand why important needs should come first when money is limited.

You're ready for your next financial mission!`; } /* 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 the explanations and try again.

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