added class to input field
This commit is contained in:
parent
f289cbc6c3
commit
9bf5e6f17d
|
@ -5,8 +5,8 @@ function pickRandomAnswer(){
|
||||||
|
|
||||||
randomAnswer = randomAnswersArrary[Math.floor(Math.random() * randomAnswersArrary.length)]
|
randomAnswer = randomAnswersArrary[Math.floor(Math.random() * randomAnswersArrary.length)]
|
||||||
htmlAnswer = /*HTML*/ `
|
htmlAnswer = /*HTML*/ `
|
||||||
<div>Your question: ${question}, does not matter</div><br>
|
<div class="content">Your question: ${question}, does not matter</div><br>
|
||||||
<div>Answer: ${randomAnswer}</div>
|
<div class="content">Answer: ${randomAnswer}</div>
|
||||||
`;
|
`;
|
||||||
clearScreen();
|
clearScreen();
|
||||||
updateView();
|
updateView();
|
||||||
|
|
Loading…
Reference in a new issue