Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Web-Development
/ addWordToDOM
Function
addWordToDOM
typing-game/script.js:33–36 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
31
}
32
//add word to dom
33
function
addWordToDOM() {
34
randomWord = getRandomWord();
35
word.innerHTML = randomWord;
36
}
37
addWordToDOM();
38
//update score
39
function
updateScore() {
Callers
1
script.js
File · 0.85
Calls
1
getRandomWord
Function · 0.85
Tested by
no test coverage detected