
Trivia Game is a game I made using JS, CSS, and HTML. It tests the users knowledge of trivia related to the hit tv series, “South Park”. The questions vary in difficulty. 5 questions are asked and the game keeps track of incorrect/correct questions then displays the score at the end with a prompt to try again.
My role in this game was that I created the entirety of it. I styled the game with CSS, used HTML for front end then used JS to provide the game functionality. All of the buttons, timers, menus I created. It took me a bit of time as I was working with unfamiliar syntax pertaining to the functionality of the buttons.
In making this game, I learned how to use increments to track correct/incorrect answers. I also learned to append styles to various buttons. I also learned how to implement timer functionality which was a little complicated for me at the time. A game like this, seemingly simple, actually took me quite a bit of time to make. There were a lot more coding steps involved that I thought such as clearInterval and setTimeout commands.
I included a link to the actual game below. The last link is the source code.
Source: Trivia Game