mirror of
https://github.com/alvierahman90/capitals_quiz.git
synced 2025-10-13 07:54:27 +00:00
minor changes
This commit is contained in:
@@ -108,7 +108,7 @@ function updateScreen(){
|
||||
answerBHTML.getElementsByClassName("text")[0].innerHTML = state.options[1];
|
||||
answerCHTML.getElementsByClassName("text")[0].innerHTML = state.options[2];
|
||||
answerDHTML.getElementsByClassName("text")[0].innerHTML = state.options[3];
|
||||
questionHTML.innerHTML = "what is the capital of <span id=\"questionCountry\">" + state.question + "</span>?";
|
||||
questionHTML.innerHTML = `what is the capital of <span id="questionCountry">${state.question}</span>?`;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user