This is a site where you get to test your expansive video game knowledge. You're able to try and guess from a bunch of questions which I've set up beforehand. If you score 0 or get 20 wrong then you lose but if you get 10 right then you win, up for the challange?
Video Game Quiz is a game completely made in Javascript.
-
The Question Area
- At the top of the page, the question area displays a random question from the game's database. The question is presented with 3 possible answers, each represented by a button. The question area is designed to be visually appealing and easy to read, with clear and concise wording that is easy to understand.
-
The Game Area
- This section will allow the user to enter what they believe the answer to be.
- The user will be able to type and press enter to validate their question.
- The question section is where the user will be able to see the question to answer as part of the game. The user will be able answer the questions in the answer box provide.
- The user will be able to submit their answer and a pop-up will make it known to the user if they answered correctly.
- Feedback Area
After you submit your answer, the feedback area displays whether your answer was correct or incorrect. If you answered correctly, a green checkmark is displayed. If you answered incorrectly, a red X is displayed. The feedback area is designed to be informative and helpful, providing you with immediate feedback on your performance in the game.
- The Score Area
The score area displays your current score, as well as the total number of questions answered and the number of questions answered correctly. The score area is designed to be easy to read and understand, with clear and concise information that helps you keep track of your progress in the game.
- Footer The footer displays the creator's name and a link to their website. The footer is designed to be unobtrusive and informative, providing you with additional information about the game's creator if you're interested in learning more.
- Help Site
An extra page that will help you understand the game better. It will tell you how to play the game and what the game is about. It will also tell you how to win and lose the game.

-
I've tested that the game works.
-
I've tested that the game has a win and lose condition.
-
I've tested so that the code in the Javascript works as expected, even on GitHub Pages.
-
I've checked that the site looks okay on different screen sizes.
-
I've made sure it scored high in lighthouse.
- The score counter awkwardly slides underneath the score text on other screen sizes.
- HTML
- No errors were returned when passing through the official W3C validator.

- No errors were returned when passing through the official W3C validator.
- CSS
- No errors were found when passing through the official (Jigsaw) validator.

- No errors were found when passing through the official (Jigsaw) validator.
- JavaScript
- No errors were found when passing through the official Jshint validator.
The following metrics were returned:
- There are 11 functions in this file.
- Function with the largest signature take 2 arguments, while the median is 0.
- Largest function has 21 statements in it, while the median is 3.
- The most complex function has a cyclomatic complexity value of 7 while the median is 1.
- The score counter awkwardly slides underneath the score text on other screen sizes.
- Difficutlies making both the paragraphs move as one.
- The site was deployed to GitHub pages. The steps to deploy are as follows:
- In the GitHub repository, navigate to the Settings tab.
- From the source section drop-down menu, select the Master Branch.
- Once the master branch has been selected, the page will be automatically refreshed with a detailed ribbon display to indicate the successful deployment.
The live link can be found here.
-
- Javascript guidance taken from Bing AI and Github Copilot.
-
- Checkmark taken from clipartbest.com
- Cross mark taken from clker.com
- Controller favicon taken from gamingcypher
- Wireframe made with Balsamiq
- Multi device size mockup made with ui.dev
- Video Game Quiz is a fun and challenging game that tests your knowledge of video games. With its intuitive interface, informative feedback, and easy-to-understand instructions, it's the perfect game for anyone who loves video games and wants to test their knowledge. So why not give it a try today and see how well you do?









