added class to input field

This commit is contained in:
Geir Okkenhaug Jerstad 2024-09-16 11:05:24 +02:00
parent f289cbc6c3
commit 9bf5e6f17d

View file

@ -5,8 +5,8 @@ function pickRandomAnswer(){
randomAnswer = randomAnswersArrary[Math.floor(Math.random() * randomAnswersArrary.length)]
htmlAnswer = /*HTML*/ `
<div>Your question: ${question}, does not matter</div><br>
<div>Answer: ${randomAnswer}</div>
<div class="content">Your question: ${question}, does not matter</div><br>
<div class="content">Answer: ${randomAnswer}</div>
`;
clearScreen();
updateView();