Skip to content

lseparatio/Games-World

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Games-World project

This project is an example of a quiz created in HTML, CSS and JavaScript

See this project on live enviroment on GitHub Pages here: https://lseparatio.github.io/Games-World/

Website on different screen sizes

Features

Click To Expand Features

Navigation

  • Same navigation menu is used across all pages for consistency.

NavBar Desktop

  • Navigation was designed to be easy to use and to understand.

NavBar Mobile

  • Navigation was designed to work well on all devices.
  • Even if a nav-bar was not necessary for this project, I created one to make it easier to expand the project with other pages, games, etc ...

First Screen

First Screen was designed to present the website for user in a friendly manner and to ask for user name.

  • First Screen Desktop

First Screen Desktop

  • First Screen Mobile

First Screen Mobile

Name validation screens

  • Empty name validation screen

Empty name validation screen

  • Special characters validation screen

First Screen Mobile

Choose topic screen

Choose topic screen is designed to allow the user to choose an topic of the quiz. Page is fully responsive.

  • Choose topic screen desktop

Choose topic screen desktop

  • Choose topic screen tablet

Choose topic screen tablet

  • Choose topic screen mobile

Choose topic screen mobile

Questions screen

This screen is designed to rondom show questions and to alow user to select an answer only by disabling the button after any button is clicked.

  • Questions screen desktop

Questions screen desktop

  • Questions screen mobile

Questions screen mobile

Answered question screen

When user is selecting an answer buttons are getting disabled to don't allow user to change the answer. Buttons are changing the colors in red and green to provide feedback if user was right.

  • Answered question screen desktop

Answered question screen desktop

  • Answered question screen mobile

Answered question screen

Feedback screen

Last screen is designed to provide feedback to user. Will be shown a different message if the correct answers are more that wrong ones, if answers are equal and if the wrong ones are more that correct ones. And total correct and wrong are displayed. Next user have option to select another topic or to go to the front page.

  • Feedback screen desktop

Answered question screen desktop

  • Feedback screen mobile

Answered question screen

The Creation Timeline

Click to open creation timeline

User Stories

As a site owner:

  • I want users to understand that this is a quiz page.
  • I want users to be able to easily navigate my website on any device.
  • I want to be able to collect user name.
  • I want to serve questions and feedback in a easy to understand way.

As a user:

  • I want to be able to view the website on any device.
  • I want the menu to be intuitive.
  • I want to learn what questions i answered right and what not.
  • I want to be able to see my total score at the end.

Wireframes, i used Balsamiq

Click to expend wireframes
  • Mobile Wireframes:
  1. Index Page

Index Mobile Example

  1. Choose topic screen

Choose topic screen Mobile

  1. Question screen

Question Screen Mobile Example

  1. Feedback screen

Feedback screen Mobile Example

  • Tablet Wireframes:

Only choose topic screen requires a specific design for tablet. Rest of screens are the same for mobile and tablet

  1. Choose Topic

Choose Topic Screen Example

  • Desktop Wireframes:
  1. Index Page

Index Desktop Example

  1. Choose topic screen

Choose topic screen desktop

  1. Question screen

Question screen Desktop Example

  1. Feedback screen

Feedback screen Desktop Example

Tools / Technologies

  • Visual Studio Code
  • HTML
  • CSS
  • JavaScript
  • GIMP
  • Microsoft Paint
  • Bootstrap 5.1.3

Colors

Images

Testing

Responsive Design Checker (Passing all checks)

Click To See

LightHouse Mobile test, click to expand.

LightHouse test front page

LightHouse Desktop test, click to expand.

LightHouse test front page

Validator testing

  • No errors were returned when passing through the HTML official validator.

HTML validator test link: Click To See

Click to expand image.

W3 html validator check for front page with no errors

  • No errors were returned when passing through the CSS official validator.

CSS validator test link: Click To See

Click to expand image.

W3 css validator check for front page with no errors

JavaScript BeautifyTools test

Click to expand image.

JavaScript BeautifyTools test

JavaScript JsHint test

Click to expand image.

JavaScript JsHint test

Chrome console test

  • No error in console. Tested complete life cycle of game manually.

Deployment

This website was deployed on GitHub pages. Steps

  • In the GitHub repository, navigate to the Settings tab
  • In left menu, down find Pages tab
  • From the source section drop-down menu, select the Main Branch
  • Once all is done your link is displayed.

This particular deployment can be seen on: https://lseparatio.github.io/Games-World/

Clone project

  • In GitHub repo press in the top menu: Code > Download Zip
  • Save in your local enviroment
  • Unzip
  • Load unzipped folder / files in your preferred IDE

Credits / Technologies

  • Bootstrap - For well documented css framework
  • FreeImages - For images
  • GIMP - For Image processing
  • Favicon.io - For Favicon
  • Google Fonts - For Luxurious Roman font.
  • Code Institute - For brilliant lessons from where i learn to do this.
  • FreePubQuiz - For quizes http://www.freepubquiz.co.uk/

Thank you for reading. For any questions don't hesitate to contact me. Kind Regards, Ionut Zapototchi

About

An website with games created in HTML, CSS and JavaScript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors