0

This is the code am working on and i wish you could help me get a code to put at the end of me question

Below is the html tag

<div id="result" class="container-fluid result" style="display: none; position: absolute; top: 1px; min-width: 100%; min-height: 100%; background-image:url('./img/giphy-downsized.gif'); background-size: cover; background-repeat: no-repeat;"></div>

Below is the javascript code:I would like to add a button so i can exit.

 if(currentQuestion == totQuestions){
    container.style.display = 'none';
    resultCont.style.display = '';
    resultCont.textContent = 'Your Score: ' + score;
    return;
    }
  loadQuestion(currentQuestion);
}

loadQuestion(currentQuestion);

</script>
Assafs
  • 3,257
  • 4
  • 26
  • 39

0 Answers0