Skip to content

Commit

Permalink
New changes
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaNwaizu committed Feb 4, 2024
1 parent 80df054 commit f6deb79
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions html-quiz.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ fetch('questions.json')
MAX_QUESTIONS = htmlQuestions.length

startGame()

localStorage.setItem('htmlQuestions', htmlQuestions)
})

//GAME FUNCTIONS
Expand Down Expand Up @@ -121,9 +121,6 @@ const incrementScore = num => {

const incrementFinal = num => {
finalScore += num
if(htmlQuestions.length) {
finalScore++
}
console.log(finalScore)

}
Expand Down

0 comments on commit f6deb79

Please sign in to comment.