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/);