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

Function compareResults

disney-character-game/index.js:179–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

177compareResult.style.display = "none";
178
179function compareResults() {
180 compareResult.style.display = "block";
181
182 if (charInputField.value.toLowerCase() == randomChar.toLowerCase()) {
183 compareResult.innerHTML =
184 "The character that you selected is the same that you got!";
185 } else {
186 compareResult.innerHTML = "You didn't get your character.";
187 }
188}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected