Giter VIP home page Giter VIP logo

rock-metal-quiz's Introduction

Rock & Metal Quiz

Rock & Metal Quiz is, as the name suggests, a music themed quiz meant to test the users knowledge specifically about rock and metal. Main Quiz Page

Features

  • Front Page
    • The first thing the user sees is a white box with a simple welcome message, as well as a start button that takes them to the actual quiz.

    • Behind the box is an image of a concert from the audience's perspective, covering the entire page.

Front Page

  • Quiz Page

    • The quiz page is comprised of a total of 8 questions, with 4 options to chose from for every question. The users total score is displayed at the bottom right of the box. Question

    • A correct answer will trigger a message along with a green background. Correct Answer

    • An incorrect answer will trigger a message along with a red background. It will also display the correct answer. Incorrect Answer

  • Navigation

    • The navigation consists of 2 simple buttons at the bottom right of the box and a header at the top of the page.

    • Clicking the header will take the user back to the front page.

    • The button named 'Restart' will reload the page and let the user start over.

    • The button named 'Next Question' will take the user to the next question after choosing an answer. If they did not choose one, an alert will pop up, telling them to do so. Alert

Testing

  • I have tested that this website is responsive, looks good and works as intended on the different standard screen sizes, using the devtools device toolbar in Google Chrome.

  • I have tested that this website works in different browsers: Chrome, Safari, Firefox.

  • I have confirmed that the quiz is fully functional. The different buttons do what they're supposed to do and trigger their respective functions.

Validator Testing

Unfixed Bugs

No unfixed bugs

Deployment

  • 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: Rock & Metal Quiz

Credits

Content

  • The code for the question array was taken from SitePoint

  • The code for the function to reveal the correct answer was modified from Code Institute's "JavaScript Essentials" course.

Media

  • The background image was taken from Pixabay

rock-metal-quiz's People

Contributors

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