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

Function getSelected

Quiz App/script.js:77–88  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

75
76
77function getSelected(){
78
79 let answer=undefined;
80
81 answerEls.forEach((answerEl) =>{
82 if(answerEl.checked){
83 answer=answerEl.id;
84 }
85 });
86
87 return answer;
88}
89
90
91

Callers 1

script.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected