Ser Vs Estar – LiveWorksheets
Total Correct Answers: ${correctCount} out of ${questions.length}
${resultHtml}
`;// Feedback messages
if (correctCount / questions.length > 0.8) {
alert("Congratulations! You scored over 80% correct.");
} else if (correctCount / questions.length >= 0.5) {
alert("Good job! You scored between 50% and 79%, but need to practice more.");
} else {
alert("You scored below 50%. Please study this topic further.");
}
});
Leave a Reply
You must be logged in to post a comment.