Skip to content

Quiz-game for users to test their knowledges and enjoy while they play the game.

Notifications You must be signed in to change notification settings

Edmir-Demaj/quiz-game.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quiz Game !

View live project here.

Quiz Game is a web application created for users to test their knowledges with a variety of questions and of course have funn while they play it. As a game target anyone who likes mind games, different age groups. This quiz-game contains a level of difficulty easy to medium with questions from different fields. A design with variety and strong colors so user can have a great experience playing the game and enjoying colors aswell.

Check out how it looks in different screen sizes:

an image of the web app in different screen sizes

Features

1. Start Game & How to play the Game buttons.

  • -Start Game- button once is clicked opens the game.
  • -How to play the Game- button once is clicked opens game rules box.
  • Game rules box explain to user how to play the quiz game.

start game & how to play buttons with info box

2. User Name details

  • After Start Game button clicked a userName form shows.
  • This form ask user to provide name in order to continue further.
  • Name provided will be showed on quiz box.

userName form

3. Questions box

  • This box contains userName, a questions counter, questions, options and next button.
  • Once an option is selected correct answer will highlight with green color and the wrong answer with red color.
  • After selection the other options won't be available to select.
  • Next button will show to move to next question.

questions an answers box

4. Results box

  • At the end of the game user will be provided the final score.
  • User can see how many were correct and how many were incorrect.
  • A message will be displayed based on the final score.
  • Restart button will restart the game starting from score zero.

final results box

Features left to implement

  • In the future would like to add a timer for user to answer.
  • Add an option to choose difficulty of game, based on this to show different questions.
  • Increase number of questions.
  • Add option to choose the category of questions for example sport, history, art etc.

Testing

Validator Testing

LIghthouse Testing

The web app is tested on Lighthouse devtools on Google Chrome to check the performance and accesibility and the results are below:

lighhouse testing

Browsers Testing

The web app is checked in different browsers to see if works properly and if is maintained the design and features wanted.

Browsers used and their versions:

  • Google Chrome version 105.05
  • Microsoft Edge version 105.0
  • Firefox version 105.0
  • Opera version 90.0

Unfixed bugs

There are no unfixed bugs.

Fixed bugs

  • An error showed on W3C HTML Validator, an ID was used 2 times. To fix i removed from code one ID.
  • An error showed on W3C CSS Validator, unit wasn't set properly. Set proper unit (rem).
  • Jshint was showing "let is available in es6 (use 'esversion: 6') or mozilla js extensions (use moz) " to fix it i inserted /*jshint esversion: 6 */ comment at the start of js file.

Jshint validator

Technologies used

  • HTML5
  • CSS3
  • JAVASCRIPT
  • GITPOD
  • GITHUB
  • FIGMA

Deployment

  • The site was deployed to GitHub pages. The steps to deploy are as follow:
  1. In the GitHub repository quiz-game. navigate to the Settings tab.
  2. Under *General section scroll down and find Pages.
  3. On the branch section select branch to main and save.
  4. Once the main branch has been selected, the page will be automatically refreshed.
  5. After refreshing we will get the deployed link for the site.
  6. To find our page also can go to GitHub repository quiz-game. on section Environments click GitHub-pages and can find the deployment.

The link of the site can be found here:

Credits

Content

Other sources used for help

Media

Wireframe

Wireframe for this web app was made using Figma

See the wireframe for this site.

wireframe for game

Thank you !

About

Quiz-game for users to test their knowledges and enjoy while they play the game.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published