.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-8 { 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-8 { 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)
Meyveleri ve sevdiklerini ifade etmeyi ne kadar iyi öğrendin?
Soru 1 / 10
Puan: 0
Soru yükleniyor...
Harika iş çıkardın! 🎉
Toplam Puanın: 0 / 100
Tekrar Oyna
const gwQuestions8 = [
{ q: "'Grapes' kelimesinin Türkçe karşılığı nedir?", options: ["Karpuz", "Muz", "Üzüm", "Elma"], answer: 2 },
{ q: "'Karpuz severim' demek için hangi cümleyi kullanırız?", options: ["I don't like melon.", "I like watermelon.", "Do you like apples?", "I like orange."], answer: 1 },
{ q: "'Strawberry' ne anlama gelir?", options: ["Çilek", "Limon", "Portakal", "Kavun"], answer: 0 },
{ q: "'I don't like lemons' cümlesinin anlamı nedir?", options: ["Limon severim.", "Limon ekşidir.", "Limonata içerim.", "Limon sevmem."], answer: 3 },
{ q: "'Do you like bananas?' sorusuna olumsuz nasıl cevap verilir?", options: ["Yes, I do.", "I like bananas.", "No, I don't.", "Yes, I like."], answer: 2 },
{ q: "'Muz' İngilizcede nasıl söylenir?", options: ["Apple", "Melon", "Lemon", "Banana"], answer: 3 },
{ q: "'Portakal' anlamına gelen kelime hangisidir?", options: ["Orange", "Grapes", "Strawberry", "Watermelon"], answer: 0 },
{ q: "Birine 'Elma sever misin?' diye nasıl sorarız?", options: ["I like apples.", "Do you like apples?", "I don't like apples.", "Where is the apple?"], answer: 1 },
{ q: "'Melon' kelimesinin Türkçe karşılığı nedir?", options: ["Karpuz", "Çilek", "Kavun", "Limon"], answer: 2 },
{ q: "'Severim' kelimesinin İngilizcesi hangisidir?", options: ["I like", "I don't like", "Do you like", "Can I"], answer: 0 }
];
let gwCurrentQ8 = 0;
let gwScore8 = 0;
function gwStartQuiz8() {
gwCurrentQ8 = 0;
gwScore8 = 0;
document.getElementById('gw-score-screen-8').style.display = 'none';
document.getElementById('gw-game-screen-8').style.display = 'block';
gwLoadQuestion8();
}
function gwLoadQuestion8() {
document.getElementById('gw-progress-8').innerText = `Soru ${gwCurrentQ8 + 1} / ${gwQuestions8.length}`;
document.getElementById('gw-score-8').innerText = `Puan: ${gwScore8}`;
const qData = gwQuestions8[gwCurrentQ8];
document.getElementById('gw-question-text-8').innerText = qData.q;
const optionsBox = document.getElementById('gw-options-box-8');
optionsBox.innerHTML = '';
qData.options.forEach((opt, index) => {
const btn = document.createElement('button');
btn.className = 'gw-option';
btn.innerText = opt;
btn.onclick = () => gwCheckAnswer8(btn, index, qData.answer);
optionsBox.appendChild(btn);
});
}
function gwCheckAnswer8(btn, selected, correct) {
const buttons = document.getElementById('gw-options-box-8').querySelectorAll('.gw-option');
buttons.forEach(b => b.disabled = true);
if (selected === correct) {
btn.classList.add('correct');
gwScore8 += 10;
} else {
btn.classList.add('wrong');
buttons[correct].classList.add('correct');
}
setTimeout(() => {
gwCurrentQ8++;
if (gwCurrentQ8 < gwQuestions8.length) {
gwLoadQuestion8();
} else {
gwEndQuiz8();
}
}, 1200);
}
function gwEndQuiz8() {
document.getElementById('gw-game-screen-8').style.display = 'none';
document.getElementById('gw-score-screen-8').style.display = 'block';
document.getElementById('gw-final-score-8').innerText = gwScore8;
}
gwStartQuiz8();
Henuz yorum yapilmamis. Ilk yorumu siz yapin!
Yorum yapmak icin giris yapin veya uye olun.