MCPcopy Create free account
hub / github.com/codemistic/Web-Development / wonGameCheck

Function wonGameCheck

Hangman-Game/script.js:52–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

50}
51
52function wonGameCheck(){
53 if(rightCount===letterArray.length){
54 popup.style.display='flex';
55 message.innerText='Yayy! You Won :)';
56 playAgain.innerText='Play Again';
57 }
58}
59
60// Event Listeners
61playAgain.addEventListener('click',function(){

Callers 1

script.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected