Giter VIP home page Giter VIP logo

javascriptproject-1's Introduction

Geography Quiz

A project made propting the user to complete a simple geography quiz. The user is given 5 questions to answer. Each question has 4 possible answers. The user must select an answer, and if right they will gain a point.This project is intended to be a fun little test for people interested in geography.

Responsice Mockup

Existing Features

  • The Heading

    • Featured at the top of the page, the Geography Quiz heading is easy to see for the user. Upon viewing the page, the user will be able to see the name of the game.

heading

  • The Question Area

    • This section will allow the user to take part in the quiz.
    • The user will be able to select their answer after reading the question.

question

  • The Scoreboard

    • The scoreboard is where the user will be able to see their score as they are playing the game
    • It updates with every question the user completes.

score

Features Left to Implement

  • Add more questions
  • Add numerical answer options

Testing

Tested website mysef firstly, by checking every possible outcome to see if any errors happen I added function to the css file to make the fonts smaller should the screen size be reduced.

Noticed numerous syntax errors upon testin,maianly forgetting colons

Validator Testing

  • HTML
    • No errors were returned when passing through the official W3C validator
  • CSS
  • JavaScript
    • No errors were found when passing through the official Jshint validator -There are 16 functions in this file. -Function with the largest signature take 1 arguments, while the median is 0. -Largest function has 7 statements in it, while the median is 6. -The most complex function has a cyclomatic complexity value of 6 while the median is 2..

Unfixed Bugs

I would have liked to included more questions. I found that reducing to screen to a very small size will eventually make the answer buttons overlap. If they could be made to stack on top of eachother it would be better.

Deployment

  • The site was deployed to GitHub pages.
    • In the GitHub repository, I navigated to the Settings tab
    • From the source section drop-down menu, I selected the Master Branch
    • Once the master branch was selected, the page automatically refreshed with a detailed ribbon display to indicate the successful deployment.

The live link can be found here - https://liammahoney115.github.io/JavaScriptProject/

Credits

Content

Media

  • The photo used on the quiz is from shutterstock

javascriptproject-1's People

Contributors

liammahoney115 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.