Clear hint background when starting new question
This commit is contained in:
parent
16d4988bb8
commit
dc429b9c72
4
app.js
4
app.js
@ -172,7 +172,9 @@
|
|||||||
|
|
||||||
document.getElementById('answer-display').innerText = "";
|
document.getElementById('answer-display').innerText = "";
|
||||||
document.getElementById('feedback-msg').innerText = "";
|
document.getElementById('feedback-msg').innerText = "";
|
||||||
document.getElementById('hint-grid').innerHTML = "";
|
const hintGrid = document.getElementById('hint-grid');
|
||||||
|
hintGrid.innerHTML = "";
|
||||||
|
hintGrid.classList.remove('has-stars');
|
||||||
|
|
||||||
if (game.timeTurnerCharges > 0) {
|
if (game.timeTurnerCharges > 0) {
|
||||||
game.timeTurnerCharges--;
|
game.timeTurnerCharges--;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user