In this lesson students will learn about financial literacy and why understanding money is important. Students will explore how money can be earned, spent, saved, borrowed, and invested and discover how making smart money choices can help them reach their goals.
🕵️

Lesson 1: What Is Financial Literacy?

Welcome to Money Agent Training! Watch at least 95% of the lesson video to unlock your quiz.

Money Agent Training Progress 0%

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

🔒

Money Agent Quiz Locked

Complete at least 95% of the video to unlock your first Money Agent quiz.

`; q.choices.forEach(function(choice,choiceIndex){ html += ` `; }); html += `
`; }); container.innerHTML = html; } /* ===================================== GRADE QUIZ ===================================== */ window.gradeLesson1Quiz = function(){ var score = 0; var unanswered = 0; questions.forEach(function(q,index){ var selected = document.querySelector( 'input[name="lesson1q' + index + '"]:checked' ); var feedback = document.getElementById( "lesson1feedback" + 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( "quizResult1" ); 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 the basic idea of financial literacy and why learning about money is important.

Money Agent Training Level 1 Complete!

Your next mission will investigate where money comes from.
`; } /* ===================================== 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 lesson and try again.

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