tools:tonhoehentrainer
Unterschiede
Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.
| Beide Seiten, vorherige ÜberarbeitungVorherige ÜberarbeitungNächste Überarbeitung | Vorherige Überarbeitung | ||
| tools:tonhoehentrainer [19/05/2025 17:52] – Eric Weber | tools:tonhoehentrainer [20/05/2025 08:42] (aktuell) – Eric Weber | ||
|---|---|---|---|
| Zeile 41: | Zeile 41: | ||
| font-weight: | font-weight: | ||
| transition: background-color 0.3s; | transition: background-color 0.3s; | ||
| + | background-color: | ||
| } | } | ||
| .ear-training-app .difficulty-btn.active { | .ear-training-app .difficulty-btn.active { | ||
| background-color: | background-color: | ||
| - | color: | + | color: |
| } | } | ||
| .ear-training-app .start-btn { | .ear-training-app .start-btn { | ||
| background-color: | background-color: | ||
| - | color: | + | color: |
| padding: 12px 20px; | padding: 12px 20px; | ||
| border: none; | border: none; | ||
| Zeile 60: | Zeile 61: | ||
| .ear-training-app .play-tones-btn { | .ear-training-app .play-tones-btn { | ||
| background-color: | background-color: | ||
| - | color: | + | color: |
| padding: 12px 20px; | padding: 12px 20px; | ||
| border: none; | border: none; | ||
| Zeile 92: | Zeile 93: | ||
| } | } | ||
| .ear-training-app .correct { | .ear-training-app .correct { | ||
| - | background-color: | + | background-color: |
| - | color: | + | color: |
| } | } | ||
| .ear-training-app .incorrect { | .ear-training-app .incorrect { | ||
| - | background-color: | + | background-color: |
| - | color: | + | color: |
| } | } | ||
| .ear-training-app .progress { | .ear-training-app .progress { | ||
| Zeile 134: | Zeile 135: | ||
| .ear-training-app .cancel-btn { | .ear-training-app .cancel-btn { | ||
| background-color: | background-color: | ||
| - | color: | + | color: |
| padding: 10px 15px; | padding: 10px 15px; | ||
| border: none; | border: none; | ||
| Zeile 165: | Zeile 166: | ||
| .ear-training-app .next-btn { | .ear-training-app .next-btn { | ||
| background-color: | background-color: | ||
| - | color: | + | color: |
| padding: 10px 15px; | padding: 10px 15px; | ||
| border: none; | border: none; | ||
| Zeile 193: | Zeile 194: | ||
| </ | </ | ||
| <div class=" | <div class=" | ||
| - | | + | Große Terz (maximal 4 Halbtöne Unterschied) |
| </ | </ | ||
| </ | </ | ||
| Zeile 285: | Zeile 286: | ||
| // Schwierigkeitsgradbeschreibungen | // Schwierigkeitsgradbeschreibungen | ||
| const difficultyDescriptions = { | const difficultyDescriptions = { | ||
| - | ' | + | ' |
| - | ' | + | ' |
| - | ' | + | ' |
| }; | }; | ||
| | | ||
| Zeile 604: | Zeile 605: | ||
| correctAnswers++; | correctAnswers++; | ||
| higherBtn.classList.add(' | higherBtn.classList.add(' | ||
| + | lowerBtn.classList.remove(' | ||
| | | ||
| // Bei richtiger Antwort nach 1 Sekunde automatisch zur nächsten Frage | // Bei richtiger Antwort nach 1 Sekunde automatisch zur nächsten Frage | ||
| Zeile 609: | Zeile 611: | ||
| } else { | } else { | ||
| higherBtn.classList.add(' | higherBtn.classList.add(' | ||
| + | lowerBtn.classList.add(' | ||
| | | ||
| // Bei falscher Antwort Optionen anzeigen | // Bei falscher Antwort Optionen anzeigen | ||
| retryNextDiv.classList.remove(' | retryNextDiv.classList.remove(' | ||
| } | } | ||
| + | | ||
| + | // Buttons deaktivieren nach Antwort | ||
| + | higherBtn.disabled = true; | ||
| + | lowerBtn.disabled = true; | ||
| | | ||
| // Fortschritt aktualisieren | // Fortschritt aktualisieren | ||
| Zeile 629: | Zeile 636: | ||
| correctAnswers++; | correctAnswers++; | ||
| lowerBtn.classList.add(' | lowerBtn.classList.add(' | ||
| + | higherBtn.classList.remove(' | ||
| | | ||
| // Bei richtiger Antwort nach 1 Sekunde automatisch zur nächsten Frage | // Bei richtiger Antwort nach 1 Sekunde automatisch zur nächsten Frage | ||
| Zeile 634: | Zeile 642: | ||
| } else { | } else { | ||
| lowerBtn.classList.add(' | lowerBtn.classList.add(' | ||
| + | higherBtn.classList.add(' | ||
| | | ||
| // Bei falscher Antwort Optionen anzeigen | // Bei falscher Antwort Optionen anzeigen | ||
| retryNextDiv.classList.remove(' | retryNextDiv.classList.remove(' | ||
| } | } | ||
| + | | ||
| + | // Buttons deaktivieren nach Antwort | ||
| + | higherBtn.disabled = true; | ||
| + | lowerBtn.disabled = true; | ||
| | | ||
| // Fortschritt aktualisieren | // Fortschritt aktualisieren | ||
tools/tonhoehentrainer.1747669928.txt.gz · Zuletzt geändert: von Eric Weber
