clean placeholders

body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #fdfdfd; } .container { max-width: 900px; margin: 20px auto; padding: 0 15px; } .story-block { background-color: #fffde7; padding: 20px; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); margin-bottom: 20px; line-height: 1.6; } .tab-group { margin: 20px 0; } .tab-buttons { display: flex; justify-content: space-around; margin-bottom: 10px; flex-wrap: wrap; gap: 8px; } .tab-buttons button { padding: 10px 20px; cursor: pointer; background-color: #ffe082; border: none; border-radius: 5px; font-weight: bold; transition: background-color 0.3s; } .tab-buttons button.active { background-color: #ffca28; } .tab-content { display: none; background-color: #fff8e1; padding: 20px; border-radius: 10px; box-shadow: 0 2px 6px rgba(0,0,0,0.1); margin-bottom: 20px; } .tab-content.active { display: block; } h2 { margin-top: 0; color: #2e7d32; } h3 { color: #2e7d32; margin: 20px 0 10px 0; } ul { padding-left: 20px; } li { margin-bottom: 6px; } strong { color: #2e7d32; } .vocab-tooltip { border-bottom: 1px dotted #333; position: relative; cursor: help; } .vocab-tooltip:hover::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #333; color: white; padding: 5px 10px; border-radius: 4px; font-size: 12px; white-space: nowrap; z-index: 10; }

#SHORT_ENGLISH_SUMMARY#


#title of the story#

#Full Story#

Title In English

#STORY IN ENGLISH#

Vocabulário da História

#VOCAB#

Gramática

#GRAMMAR#

Expressões Informais

#EXPRESS#

Dicas Culturais

#DICAS#

Áudio

#Audio#

Preencher as Lacunas

#FILL_GAPS#

10 Perguntas

#QUESTIONS#

Recontar a História

#RETELL#

Múltipla Escolha

#MULTIPLE_CHOICE#
// Initialize tabs for ALL tab groups independently – ONE ACTIVE PER GROUP document.querySelectorAll(‘.tab-group’).forEach(group => { const buttons = group.querySelectorAll(‘.tab-btn’); const contents = group.querySelectorAll(‘.tab-content’); buttons.forEach(button => { button.addEventListener(‘click’, () => { // Remove active class from ALL buttons and contents in THIS GROUP ONLY buttons.forEach(btn => btn.classList.remove(‘active’)); contents.forEach(content => content.classList.remove(‘active’)); // Activate ONLY the clicked button and its tab content button.classList.add(‘active’); const targetTab = button.dataset.tab; document.getElementById(targetTab).classList.add(‘active’); }); }); });

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top