.gw-section { margin-bottom: 35px; padding: 25px; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }
.gw-title { color: #2c3e50; font-weight: 800; font-size: 28px; border-bottom: 3px solid #e74c3c; padding-bottom: 10px; margin-bottom: 25px; }
.gw-h2 { color: #2c3e50; font-size: 22px; margin-top: 0; margin-bottom: 15px; }
.gw-grammar-box { background: #fff; padding: 15px; border-left: 4px solid #3498db; margin-bottom: 15px; border-radius: 0 8px 8px 0; }
.gw-vocab-list { column-count: 2; column-gap: 40px; }
@media (max-width: 600px) { .gw-vocab-list { column-count: 1; } }
.gw-vocab-item { padding: 5px 0; border-bottom: 1px solid #eee; }
/* Quiz Game Styles */
#gw-quiz-container-14 { background: #fff; border-radius: 10px; padding: 20px; text-align: center; box-shadow: 0 2px 10px rgba(0,0,0,0.1); }
.gw-question { font-size: 20px; font-weight: bold; margin-bottom: 20px; color: #2c3e50; }
.gw-options { display: flex; flex-direction: column; gap: 10px; }
.gw-option { background: #3498db; color: white; padding: 12px; border-radius: 8px; cursor: pointer; transition: 0.2s; font-weight: 600; border: none; width: 100%; font-size: 16px; }
.gw-option:hover { background: #2980b9; transform: translateY(-2px); }
.gw-option.correct { background: #27ae60 !important; }
.gw-option.wrong { background: #e74c3c !important; }
#gw-score-screen-14 { display: none; }
.gw-btn-restart { margin-top: 20px; background: #f39c12; color: #fff; padding: 10px 20px; border: none; border-radius: 5px; cursor: pointer; font-size: 16px; font-weight: bold; }
🎮 3. İnteraktif Kelime Testi (Quiz)
Şekilleri ve nesnelerin yerlerini bulma oyununa başla!
Soru 1 / 10
Puan: 0
Soru yükleniyor...
Harika iş çıkardın! 🎉
Toplam Puanın: 0 / 100
Tekrar Oyna
const gwQuestions14 = [
{ q: "'Kare' kelimesinin İngilizcesi nedir?", options: ["Circle", "Triangle", "Square", "Rectangle"], answer: 2 },
{ q: "'In front of' ne anlama gelir?", options: ["Arkasında", "Önünde", "Yanında", "Altında"], answer: 1 },
{ q: "'Triangle' kelimesinin Türkçe karşılığı nedir?", options: ["Kare", "Daire", "Dikdörtgen", "Üçgen"], answer: 3 },
{ q: "'Kedi kapının arkasındadır' cümlesinin İngilizcesi hangisidir?", options: ["The cat is near the door.", "The cat is in front of the door.", "The cat is behind the door.", "The cat is on the door."], answer: 2 },
{ q: "'Circle' kelimesi ne demektir?", options: ["Kare", "Daire", "Üçgen", "Çizgi"], answer: 1 },
{ q: "'Yanında / Yakınında' anlamına gelen kelime hangisidir?", options: ["Near", "Behind", "Under", "In"], answer: 0 },
{ q: "Kitap bir 'dikdörtgen'dir. İngilizcesi nedir?", options: ["The book is a circle.", "The book is a rectangle.", "The book is a square.", "The book is a triangle."], answer: 1 },
{ q: "'Behind' ne demektir?", options: ["İçinde", "Yanında", "Önünde", "Arkasında"], answer: 3 },
{ q: "'Where is the ball?' sorusuna nasıl cevap verilir?", options: ["It is a circle.", "It is red.", "It is under the table.", "I have got a ball."], answer: 2 },
{ q: "'Ağaç' İngilizcede nasıl söylenir?", options: ["Door", "Room", "Tree", "Garage"], answer: 2 }
];
let gwCurrentQ14 = 0;
let gwScore14 = 0;
function gwStartQuiz14() {
gwCurrentQ14 = 0;
gwScore14 = 0;
document.getElementById('gw-score-screen-14').style.display = 'none';
document.getElementById('gw-game-screen-14').style.display = 'block';
gwLoadQuestion14();
}
function gwLoadQuestion14() {
document.getElementById('gw-progress-14').innerText = `Soru ${gwCurrentQ14 + 1} / ${gwQuestions14.length}`;
document.getElementById('gw-score-14').innerText = `Puan: ${gwScore14}`;
const qData = gwQuestions14[gwCurrentQ14];
document.getElementById('gw-question-text-14').innerText = qData.q;
const optionsBox = document.getElementById('gw-options-box-14');
optionsBox.innerHTML = '';
qData.options.forEach((opt, index) => {
const btn = document.createElement('button');
btn.className = 'gw-option';
btn.innerText = opt;
btn.onclick = () => gwCheckAnswer14(btn, index, qData.answer);
optionsBox.appendChild(btn);
});
}
function gwCheckAnswer14(btn, selected, correct) {
const buttons = document.getElementById('gw-options-box-14').querySelectorAll('.gw-option');
buttons.forEach(b => b.disabled = true);
if (selected === correct) {
btn.classList.add('correct');
gwScore14 += 10;
} else {
btn.classList.add('wrong');
buttons[correct].classList.add('correct');
}
setTimeout(() => {
gwCurrentQ14++;
if (gwCurrentQ14 < gwQuestions14.length) {
gwLoadQuestion14();
} else {
gwEndQuiz14();
}
}, 1200);
}
function gwEndQuiz14() {
document.getElementById('gw-game-screen-14').style.display = 'none';
document.getElementById('gw-score-screen-14').style.display = 'block';
document.getElementById('gw-final-score-14').innerText = gwScore14;
}
gwStartQuiz14();
Henuz yorum yapilmamis. Ilk yorumu siz yapin!
Yorum yapmak icin giris yapin veya uye olun.