MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / setNextQuestion

Function setNextQuestion

assets/js/quiz.js:40–44  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

38}
39
40function setNextQuestion() {
41 solution.classList.add('hide')
42 resetState();
43 showQuestion(shuffledQuestions[currentQuestionIndex])
44}
45
46function showQuestion(question) {
47 questionElement.innerText = question['question']

Callers 2

quiz.jsFile · 0.85
startGameFunction · 0.85

Calls 2

resetStateFunction · 0.85
showQuestionFunction · 0.85

Tested by

no test coverage detected