.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-3 { 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-3 { 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)
Vücudumuzun bölümlerini ve hava durumunu test edelim!
Soru 1 / 10
Puan: 0
Soru yükleniyor...
Harika iş çıkardın! 🎉
Toplam Puanın: 0 / 100
Tekrar Oyna
const gwQuestions3 = [
{ q: "'Burun' kelimesinin İngilizcesi nedir?", options: ["Ear", "Eye", "Nose", "Head"], answer: 2 },
{ q: "'It is raining' cümlesi ne anlama gelir?", options: ["Hava güneşli", "Kar yağıyor", "Hava sıcak", "Yağmur yağıyor"], answer: 3 },
{ q: "Aşağıdakilerden hangisi bir vücut bölümü DEĞİLDİR?", options: ["Sunny", "Arm", "Leg", "Hand"], answer: 0 },
{ q: "'Göz' kelimesinin İngilizcesi nedir?", options: ["Mouth", "Eye", "Hair", "Body"], answer: 1 },
{ q: "'Touch your head' ne demektir?", options: ["Burnuna dokun", "Kafana dokun", "Gözlerini kapat", "Ellerini yıka"], answer: 1 },
{ q: "'Soğuk' kelimesinin İngilizcesi hangisidir?", options: ["Hot", "Sunny", "Cold", "Rainy"], answer: 2 },
{ q: "'Arm' ne anlama gelir?", options: ["Bacak", "Saç", "Kol", "El"], answer: 2 },
{ q: "'It is hot' dediğimizde hava nasıldır?", options: ["Sıcak", "Karlı", "Rüzgarlı", "Soğuk"], answer: 0 },
{ q: "'Saç' kelimesinin İngilizcesi nedir?", options: ["Head", "Ear", "Nose", "Hair"], answer: 3 },
{ q: "'Karlı' kelimesinin İngilizcesi hangisidir?", options: ["Snowy", "Sunny", "Rainy", "Hot"], answer: 0 }
];
let gwCurrentQ3 = 0;
let gwScore3 = 0;
function gwStartQuiz3() {
gwCurrentQ3 = 0;
gwScore3 = 0;
document.getElementById('gw-score-screen-3').style.display = 'none';
document.getElementById('gw-game-screen-3').style.display = 'block';
gwLoadQuestion3();
}
function gwLoadQuestion3() {
document.getElementById('gw-progress-3').innerText = `Soru ${gwCurrentQ3 + 1} / ${gwQuestions3.length}`;
document.getElementById('gw-score-3').innerText = `Puan: ${gwScore3}`;
const qData = gwQuestions3[gwCurrentQ3];
document.getElementById('gw-question-text-3').innerText = qData.q;
const optionsBox = document.getElementById('gw-options-box-3');
optionsBox.innerHTML = '';
qData.options.forEach((opt, index) => {
const btn = document.createElement('button');
btn.className = 'gw-option';
btn.innerText = opt;
btn.onclick = () => gwCheckAnswer3(btn, index, qData.answer);
optionsBox.appendChild(btn);
});
}
function gwCheckAnswer3(btn, selected, correct) {
const buttons = document.getElementById('gw-options-box-3').querySelectorAll('.gw-option');
buttons.forEach(b => b.disabled = true);
if (selected === correct) {
btn.classList.add('correct');
gwScore3 += 10;
} else {
btn.classList.add('wrong');
buttons[correct].classList.add('correct');
}
setTimeout(() => {
gwCurrentQ3++;
if (gwCurrentQ3 < gwQuestions3.length) {
gwLoadQuestion3();
} else {
gwEndQuiz3();
}
}, 1200);
}
function gwEndQuiz3() {
document.getElementById('gw-game-screen-3').style.display = 'none';
document.getElementById('gw-score-screen-3').style.display = 'block';
document.getElementById('gw-final-score-3').innerText = gwScore3;
}
gwStartQuiz3();
Henuz yorum yapilmamis. Ilk yorumu siz yapin!
Yorum yapmak icin giris yapin veya uye olun.