Hide quiz answer options on stage until the quiz starts
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
19320f01c4
commit
28bfd535f4
3 files changed
+24
-1
No files matched your search
@@ -892,7 +892,8 @@
|
||||
} else if (results.phase === 'running') {
|
||||
children.push(el('p', { class: 'quiz-status', text: 'Quiz läuft – ohne Zeitlimit' }));
|
||||
} else {
|
||||
children.push(el('p', { class: 'quiz-status', text: 'Bereit – starte das Quiz, um die Antworten freizugeben' }));
|
||||
children.push(el('p', { class: 'quiz-status', text: 'Bereit – die Antworten erscheinen, sobald das Quiz gestartet wird' }));
|
||||
return el('div', { class: 'quiz-results quiz-results--' + results.phase }, children);
|
||||
}
|
||||
children.push(el('ol', { class: 'quiz-grid' }, results.options.map(function (option, index) {
|
||||
return el('li', { class: 'quiz-tile quiz-tile--c' + (index % 6), text: option.label });
|
||||
|
||||
Reference in new issue
Block a user