0% found this document useful (0 votes)
6 views3 pages

Subject-Verb Agreement Quiz

This document is an HTML page that presents a quiz on subject-verb agreement. It includes a series of questions with multiple-choice answers and provides feedback based on user selections. The page is styled with CSS for a visually appealing layout and includes JavaScript for interactive functionality.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views3 pages

Subject-Verb Agreement Quiz

This document is an HTML page that presents a quiz on subject-verb agreement. It includes a series of questions with multiple-choice answers and provides feedback based on user selections. The page is styled with CSS for a visually appealing layout and includes JavaScript for interactive functionality.
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

<!

DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple English</title>
<link rel="icon" href="[Link]" type="image/png">
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
background-color: #0c1445;
color: #fff;
margin: 0;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}

.quiz-container {
max-width: 800px;
margin: auto;
padding: 30px;
border: 2px solid #1e2b78;
border-radius: 10px;
background-color: #1e2b78;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

h1 {
color: #f5c518;
text-align: center;
}

button {
padding: 10px 20px;
margin: 5px;
font-size: 18px;
cursor: pointer;
background-color: #f5c518;
color: #1e2b78;
border: none;
border-radius: 5px;
transition: background-color 0.3s ease;
}

button:hover {
background-color: #d4aa00;
}
</style>
</head>
<body>

<div class="quiz-container">
<h1>Subject verb agreement</h1>
<div id="question"></div>
<div id="options"></div>
</div>
<script>
const questions = [
{
question: "1.She______ cats.",
options: ["[Link]", "[Link]"],
answer: "[Link]"
},
{
question: "2.He______some bananas.",
options: ["[Link]", "[Link]"],
answer: "[Link]"
},
{
question: "3.They_______that house over there.",
options: ["[Link]", "[Link]"],
answer: "[Link]"
},
{
question: "4.We______amazing.",
options: ["[Link]", "[Link]"],
answer: "[Link]"
},
{
question: "5.Nora______an ice cream.",
options: ["[Link]", "[Link]"],
answer: "[Link]"
},
{
question: "6.I______ that information.",
options: ["[Link]", "[Link]"],
answer: "[Link]"
},
{
question: "7.We______an incredible dance steps.",
options: ["[Link]", "[Link]"],
answer: "[Link]"
},
{
question: "8.Lolita______a poem.",
options: ["[Link]", "[Link]"],
answer: "[Link]"
},
{
question: "9.Rosita______the pork.",
options: ["[Link]", "[Link]"],
answer: "[Link]"
},
{
question: "[Link] farmer______the apple from the tree.",
options: ["[Link]", "[Link]"],
answer: "[Link]"
},
{
question: "Remember, always seak for new knowledge",
options: ["Okey"],
answer: "Okey"
}
];
const quizContainer = [Link]('question');
const optionsContainer = [Link]('options');

function loadQuestion(questionIndex) {
const currentQuestion = questions[questionIndex];
[Link] = [Link];
[Link] = '';
[Link](option => {
const button = [Link]('button');
[Link] = option;
[Link]('click', function() {
checkAnswer(option, [Link]);
});
[Link](button);
});
}

let questionIndex = 0;
loadQuestion(questionIndex);

function checkAnswer(selectedOption, correctAnswer) {


if (selectedOption === correctAnswer) {
alert('Very Good! Proceed?');
} else {
alert('Sorry, but the correct asnwer is ' + correctAnswer);
}
questionIndex++;
if (questionIndex < [Link]) {
loadQuestion(questionIndex);
} else {
alert('The quiz is finish');
}
}
</script>
<body background="C:\Users\User\Desktop\ICT\Untitled [Link]">
</body>
</html>

You might also like