We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cf19b6 commit bb69bbaCopy full SHA for bb69bba
Quiz App Master/game.js
@@ -73,11 +73,11 @@ getNewQuestion = () => {
73
74
const questionIndex = Math.floor(Math.random() * availableQuesions.length);
75
currentQuestion = availableQuesions[questionIndex];
76
- question.innerText = currentQuestion.question;
+ question.innerHTML = currentQuestion.question;
77
78
choices.forEach(choice => {
79
const number = choice.dataset["number"];
80
- choice.innerText = currentQuestion["choice" + number];
+ choice.innerHTML = currentQuestion["choice" + number];
81
});
82
83
availableQuesions.splice(questionIndex, 1);
0 commit comments