Skip to content

Commit

Permalink
Update script.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhrankan-Chakrabarti authored Jun 24, 2024
1 parent 9bdb1d5 commit 4eb0211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/script.js
Original file line number Diff line number Diff line change
Expand Up @@ -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: <b></b>';
getRandomWord();
}
loadWords("dictionary.txt", /\r?\n/);
Expand Down

0 comments on commit 4eb0211

Please sign in to comment.