Did a Human or AI Write This Sentence?
physique {
margin: 0;
padding: 0;
background-color: #000;
coloration: #fff;
font-family: Arial, sans-serif;
}
#ai-quiz {
width: 100%;
max-width: 1200px;
margin: 20px auto;
padding: 20px;
box-sizing: border-box;
}
h2 {
text-align: heart;
margin-bottom: 30px;
coloration: #fff;
}
/* Container for questions in a single column */
.questions-container {
show: block;
}
.question-box {
background: #1a1a1a;
border: 1px strong #444;
border-radius: 8px;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
padding: 20px;
margin-bottom: 20px;
box-sizing: border-box;
width: 100%;
}
.question-box p {
margin: 0 0 15px 0;
font-size: 18px;
font-weight: daring;
}
.question-number {
show: inline-block;
background: #c1205b;
coloration: #fff;
width: 30px;
peak: 30px;
text-align: heart;
line-height: 30px;
border-radius: 50%;
margin-right: 10px;
font-size: 16px;
}
label {
show: block;
margin-bottom: 8px;
font-size: 16px;
cursor: pointer;
padding: 4px;
border-radius: 4px;
}
label:hover {
background-color: #333;
}
enter[type=”radio”] {
margin-right: 8px;
cursor: pointer;
}
.submit-container {
text-align: heart;
width: 100%;
margin-top: 20px;
}
.submit-button {
padding: 12px 20px;
font-size: 18px;
coloration: #fff;
background-color: #c1205b;
border: none;
border-radius: 8px;
cursor: pointer;
transition: background-color 0.3s ease;
}
.submit-button:hover {
background-color: #a51549;
}
#outcome {
margin-top: 20px;
padding: 20px;
border: 2px strong #c1205b;
border-radius: 8px;
background-color: #1a1a1a;
show: none;
text-align: heart;
}
#outcome h3 {
margin-bottom: 10px;
coloration: #c1205b;
}
Did a Human or AI Write This Sentence?
1
“Synthetic intelligence has revolutionized many industries with its predictive capabilities.”
AI
Human
2
“Yesterday, I walked alongside the river and watched the sundown paint the sky in vibrant colours.”
Human
AI
3
“Information-driven algorithms present insights which can be each actionable and transformative.”
AI
Human
4
“The mild hum of on a regular basis life jogged my memory that magnificence exists within the mundane.”
Human
AI
5
“Machine studying fashions optimize efficiency by analyzing complicated datasets.”
AI
Human
6
“I cherish the heat of a handwritten letter on this digital age.”
Human
AI
7
“Neural networks simulate interconnected human mind features with spectacular accuracy.”
AI
Human
8
“Each morning, the aroma of freshly brewed espresso awakens my senses and fuels my creativity.”
Human
AI
9
“Modern applied sciences proceed to advance at a exceptional tempo, reshaping our future.”
AI
Human
10
“Generally, the best moments of silence communicate louder than phrases ever might.”
Human
AI
End result:
perform calculateResult() {
// Mapping of query IDs to right solutions
const correctAnswers = {
“q1”: “AI”,
“q2”: “Human”,
“q3”: “AI”,
“this fall”: “Human”,
“q5”: “AI”,
“q6”: “Human”,
“q7”: “AI”,
“q8”: “Human”,
“q9”: “AI”,
“q10”: “Human”
};
const kind = doc.kinds.quizForm;
let rating = 0;
const totalQuestions = Object.keys(correctAnswers).size;
for (let q in correctAnswers) {
let choices = kind[q];
for (let i = 0; i = 7) {
message = “Nice job! You’ve got a pointy eye for distinguishing human and AI writing.”;
} else if (rating >= 4) {
message = “Not dangerous! There’s room to enhance your detection abilities.”;
} else {
message = “Higher luck subsequent time. Maintain working towards, and you may sharpen your instincts!”;
}
doc.getElementById(“resultText”).innerText = `You bought ${rating} out of ${totalQuestions} right. ${message}`;
doc.getElementById(“outcome”).model.show = “block”;
}
You Could Additionally Like
Bitcoin Superior Take a look at Quiz
How Effectively Do You Know 1inch Coin?
Are You Prepared for the Metaverse? – Metaverse Quiz