.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-15 { 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-15 { 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)
Şehirdeki binaları ve yön göstermeyi test edelim!
Soru 1 / 10
Puan: 0
Soru yükleniyor...
Harika iş çıkardın! 🎉
Toplam Puanın: 0 / 100
Tekrar Oyna
const gwQuestions15 = [
{ q: "'Hospital' kelimesinin Türkçe karşılığı nedir?", options: ["Okul", "Müze", "Banka", "Hastane"], answer: 3 },
{ q: "Birine adres sorarken cümleye nasıl başlamalıyız?", options: ["I am sorry", "Excuse me", "Over there", "Here"], answer: 1 },
{ q: "'Hayvanat bahçesi' İngilizcede nasıl söylenir?", options: ["Cinema", "Park", "Zoo", "Museum"], answer: 2 },
{ q: "'The bank is over there' cümlesi ne anlama gelir?", options: ["Banka ta orada.", "Banka burada.", "Banka kapalı.", "Banka nerede?"], answer: 0 },
{ q: "'Museum' kelimesi ne demektir?", options: ["Alışveriş merkezi", "Müze", "Sinema", "Hastane"], answer: 1 },
{ q: "'Burada' anlamına gelen kelime hangisidir?", options: ["There", "Here", "Over there", "Where"], answer: 1 },
{ q: "'Alışveriş merkezi' İngilizcede nasıl söylenir?", options: ["Shopping centre", "Hospital", "Zoo", "Bank"], answer: 0 },
{ q: "'Where is the park?' sorusuna nasıl cevap verilir?", options: ["Excuse me.", "It is a park.", "It is over there.", "I am sorry."], answer: 2 },
{ q: "'Özür dilerim' demek için hangi ifadeyi kullanırız?", options: ["Excuse me", "I am sorry", "Here you are", "Thank you"], answer: 1 },
{ q: "Aşağıdakilerden hangisi bir şehir binası DEĞİLDİR?", options: ["Bank", "Cinema", "Museum", "Triangle"], answer: 3 }
];
let gwCurrentQ15 = 0;
let gwScore15 = 0;
function gwStartQuiz15() {
gwCurrentQ15 = 0;
gwScore15 = 0;
document.getElementById('gw-score-screen-15').style.display = 'none';
document.getElementById('gw-game-screen-15').style.display = 'block';
gwLoadQuestion15();
}
function gwLoadQuestion15() {
document.getElementById('gw-progress-15').innerText = `Soru ${gwCurrentQ15 + 1} / ${gwQuestions15.length}`;
document.getElementById('gw-score-15').innerText = `Puan: ${gwScore15}`;
const qData = gwQuestions15[gwCurrentQ15];
document.getElementById('gw-question-text-15').innerText = qData.q;
const optionsBox = document.getElementById('gw-options-box-15');
optionsBox.innerHTML = '';
qData.options.forEach((opt, index) => {
const btn = document.createElement('button');
btn.className = 'gw-option';
btn.innerText = opt;
btn.onclick = () => gwCheckAnswer15(btn, index, qData.answer);
optionsBox.appendChild(btn);
});
}
function gwCheckAnswer15(btn, selected, correct) {
const buttons = document.getElementById('gw-options-box-15').querySelectorAll('.gw-option');
buttons.forEach(b => b.disabled = true);
if (selected === correct) {
btn.classList.add('correct');
gwScore15 += 10;
} else {
btn.classList.add('wrong');
buttons[correct].classList.add('correct');
}
setTimeout(() => {
gwCurrentQ15++;
if (gwCurrentQ15 < gwQuestions15.length) {
gwLoadQuestion15();
} else {
gwEndQuiz15();
}
}, 1200);
}
function gwEndQuiz15() {
document.getElementById('gw-game-screen-15').style.display = 'none';
document.getElementById('gw-score-screen-15').style.display = 'block';
document.getElementById('gw-final-score-15').innerText = gwScore15;
}
gwStartQuiz15();
Henuz yorum yapilmamis. Ilk yorumu siz yapin!
Yorum yapmak icin giris yapin veya uye olun.