I like the no-nonsene approach with the user interface, looks elegant.
Though I can’t even answer a single question, because none of the buttons work for me after I start a quiz. The button hovering animations work though.
I played a round of General Knowledge, and it definitely itches the quiz scratch.
The game functions perfectly well, and does exactly what it says on the tin. You play a game of ten questions, it tells you how many you got right, and it lets you choose another one.
Sometimes, I just want a ton of questions, and sometimes I just want like five, but the page doesn’t let you choose how many to do. Just a QOL suggestion.
I think you did a really good job with it! I’m definitely bookmarking it for later, when I just want to play trivia.
On line 103 in script.js you need to pass event to your callback. document.querySelector('#answerList').addEventListener('click', function ( event ) {
or even better if it works: document.querySelector('#answerList').addEventListener('click', function ( $(event) ) {