Giter Club home page Giter Club logo

project-2-javascript's Introduction

Know Your Geography

This interactive game is designed for quiz lovers and geography enthusiasts alike. The questions are at beginner level and targets children of high school age - although adults are more than welcome to test themselves! Users of the website will be able to smoothly and easily navigate through the game, with an active score counter informing them of their progress.

Features

Existing Features

  • Heading

A simple header with the game title appears at the top of the page and remains throughout. This also contains an anchor tag which will return the user to the homepage at any point.

  • Background

A background image relating to the game subject sits visible throughout the game. Image was sourced from pexels.com.

  • Play Game

The game is viewed and played within a small card. To begin, the user is greeted with a play button which when pressed will begin the game.

  • How To Play

The user can click a button which informs them of the rules of the game.

  • Game

A question with four options will be presented to the user. They will select one answer only before clicking 'Next'.

  • Score Counter

A running total of the users score sits beneath the game area allowing the user to sese if they got the question right.

  • Result alert

User is notified of their overall score at end of game informing the user if they have passed or failed.

Features to add

  • Multiple difficulty levels

  • Additional quiz games to build the 'Know Your...' series(sport, history etc)

  • Fun animation when selecting correct answer

User Experience (UX)

User Stories

As a user

  • I want a fun interactive game.
  • I want a game that is easy to navigate and the purpose is clear.
  • I want the quiz to be aimed at its stated demographic so it isn't too hard or easy.
  • I want a visual representation of my acheivement of passing the quiz.

As a site owner

  • I want the functions of the game to run smoothly and glitch free.
  • I want users to enjoy playing and be encouraged to return or share the quiz.

Testing

A seperate testing file can be found here

Technologies

Editor

  • GitPod

Languages

  • HTML5
  • CSS3
  • JavaScript

Version control

  • GitHub

Libraries

  • Font Awesome
  • Google Fonts
  • Stock Images

Deployment

The quiz was deployed with GitHub using the below steps:

  • Within the relavant repository, select 'Settings'.
  • Navigate to the 'Pages' section displayed on the left menu.
  • Select the main branch from the drop-down menu and save to display the link to your website.

Know Your... Geography can be viewed here.

Credits

Content

  • I used this method to refresh the page at the end of the quiz.

  • The formatting of the questionArray was taken Here.

  • This solution was used to overcome a styling issue on the header.

  • Inspiration for the the layout and required functionality for the quiz was taken from this tutorial.

Media

I obtained my background image from pexels.com.

A special thank you goes to Sandeep, my mentor, and also my son, Thomas, who enjoyed testing the quiz throughout development and gave some interesting feedback.

project-2-javascript's People

Contributors

jamitag avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.