From 4eb0211f47748613d8014cf47ad8c27f4d8a4a6b Mon Sep 17 00:00:00 2001 From: Abhrankan Chakrabarti Date: Mon, 24 Jun 2024 21:28:31 +0530 Subject: [PATCH] Update script.js --- scripts/script.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/script.js b/scripts/script.js index 0b7fa21..fde08f4 100644 --- a/scripts/script.js +++ b/scripts/script.js @@ -16,7 +16,7 @@ async function loadWords(file, sep) { for (var i = 0; i < words.length; i++) { wordList.push(words[i]); } - document.querySelector(".guesses-text").innerText = 'Incorrect guesses: '; + document.querySelector(".guesses-text").innerHTML = 'Incorrect guesses: '; getRandomWord(); } loadWords("dictionary.txt", /\r?\n/);