.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-23 { 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-23 { 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)
Meslekleri ve çalışma yerlerini ne kadar iyi öğrendiğini test et!
Soru 1 / 10
Puan: 0
Soru yükleniyor...
Harika iş çıkardın! 🎉
Toplam Puanın: 0 / 100
Tekrar Oyna
const gwQuestions23 = [
{ q: "'Veteriner' kelimesinin İngilizcesi nedir?", options: ["Doctor", "Pilot", "Vet", "Farmer"], answer: 2 },
{ q: "'What do you do?' sorusunun anlamı nedir?", options: ["Nasılsın?", "Ne iş yaparsın?", "Nerede çalışıyorsun?", "Saat kaç?"], answer: 1 },
{ q: "'Firefighter' ne anlama gelir?", options: ["Polis", "Aşçı", "İtfaiyeci", "Öğretmen"], answer: 2 },
{ q: "Bir 'Chef' (Aşçı) nerede çalışır?", options: ["At a school", "At a hospital", "At a police station", "At a restaurant"], answer: 3 },
{ q: "'Where do you work?' sorusuna verilecek en uygun cevap hangisidir?", options: ["I am a doctor.", "I work at a hospital.", "I like my job.", "I am fine."], answer: 1 },
{ q: "'Çiftçi' kelimesinin İngilizcesi nedir?", options: ["Farmer", "Singer", "Nurse", "Dentist"], answer: 0 },
{ q: "'Nurse' kelimesinin Türkçe karşılığı nedir?", options: ["Doktor", "Hemşire", "Polis", "Şoför"], answer: 1 },
{ q: "Diş hekimi olmak isteyen biri İngilizce mesleğini nasıl söyler?", options: ["I am a pilot.", "I am a dentist.", "I am a vet.", "I am a chef."], answer: 1 },
{ q: "'Police station' neresidir?", options: ["İtfaiye istasyonu", "Hastane", "Karakol", "Okul"], answer: 2 },
{ q: "'What does he do?' sorusuna nasıl cevap verilir?", options: ["She is a nurse.", "He is a firefighter.", "He works at a farm.", "I am a teacher."], answer: 1 }
];
let gwCurrentQ23 = 0;
let gwScore23 = 0;
function gwStartQuiz23() {
gwCurrentQ23 = 0;
gwScore23 = 0;
document.getElementById('gw-score-screen-23').style.display = 'none';
document.getElementById('gw-game-screen-23').style.display = 'block';
gwLoadQuestion23();
}
function gwLoadQuestion23() {
document.getElementById('gw-progress-23').innerText = `Soru ${gwCurrentQ23 + 1} / ${gwQuestions23.length}`;
document.getElementById('gw-score-23').innerText = `Puan: ${gwScore23}`;
const qData = gwQuestions23[gwCurrentQ23];
document.getElementById('gw-question-text-23').innerText = qData.q;
const optionsBox = document.getElementById('gw-options-box-23');
optionsBox.innerHTML = '';
qData.options.forEach((opt, index) => {
const btn = document.createElement('button');
btn.className = 'gw-option';
btn.innerText = opt;
btn.onclick = () => gwCheckAnswer23(btn, index, qData.answer);
optionsBox.appendChild(btn);
});
}
function gwCheckAnswer23(btn, selected, correct) {
const buttons = document.getElementById('gw-options-box-23').querySelectorAll('.gw-option');
buttons.forEach(b => b.disabled = true);
if (selected === correct) {
btn.classList.add('correct');
gwScore23 += 10;
} else {
btn.classList.add('wrong');
buttons[correct].classList.add('correct');
}
setTimeout(() => {
gwCurrentQ23++;
if (gwCurrentQ23 < gwQuestions23.length) {
gwLoadQuestion23();
} else {
gwEndQuiz23();
}
}, 1200);
}
function gwEndQuiz23() {
document.getElementById('gw-game-screen-23').style.display = 'none';
document.getElementById('gw-score-screen-23').style.display = 'block';
document.getElementById('gw-final-score-23').innerText = gwScore23;
}
gwStartQuiz23();
Henuz yorum yapilmamis. Ilk yorumu siz yapin!
Yorum yapmak icin giris yapin veya uye olun.